datetime object only keep year, day and month code example
Example: HOW TO CREATE A DATETIME LIST QUICK
import pandas as pd
from datetime import datetime
datelist = pd.date_range(datetime.today(), periods=100).tolist()
import pandas as pd
from datetime import datetime
datelist = pd.date_range(datetime.today(), periods=100).tolist()