from datetime import datetime ,timezone,timedelta

print( # not aware about time zones , local computer time

print( # UTC TIME  +00:00 meaning there is not offset

today =
tomorrow = today + timedelta(days=1)


print(today.strftime('%d-%m-%Y %H:%M:%S'))

#user_date = input('Give time in YYYY-mm-dd format')
#user_date = datetime.strptime(user_date,'%Y-%m-%d')


print(today.timestamp()) # linux timestamp
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter