import datetime today = datetime.datetime.today() print(today.strftime("%Y/%m/%d"))