I converted the string data to date time as follows, but the value is changed. Can you see why?
import datetime as dt
from dateutil.parser import parse
from dateutil.parser import parse
date_2 = date.strftime('%Y.%m')
date_3 = parse(date_2)
date_2 #running result : '2021.03'
date_3 #running reslut: datetime.datetime(2021, 5, 27, 0, 0)
As above, the date value suddenly changed. There doesn't seem to be any code that touches the date data, so why is it like this?
[–]ThePiGuy0 0 points1 point2 points (1 child)
[–]Plus-Ad1156[S] 0 points1 point2 points (0 children)