When printing dates in the datetime
module of Python 3.6, they look like:
>> from datetime.date import date
>> print(date(2018,1,30))
2018-01-30
Is it possible to change the format of the output of print()
for datetime.date
objects?
My desired outcome is:
>> print(date(2018,1,30))
30/01/18