Jan-02-2020, 11:07 PM
(Jan-02-2020, 03:09 AM)ichabod801 Wrote: I don't think you understand. You can use strftime to make a text representation of the date in whatever format you want. But the datetime object (datetime.datetime(2019, 11, 10)
), must be specified in year, month, day order, or you must clarify with keyword arguments what you want (datetime.datetime(year = 2019, day = 11, month = 10)
).
Why is it in year month day order? TIL Python dates are in the same order as the date in Japan.
In my country, it's either year day month or day month year.