python get date month day code example
Example 1: python get day month year
import datetime
now = datetime.datetime.now()
print(now.year, now.month, now.day, now.hour, now.minute, now.second)
Example 2: how to get date in numbers using python
from datetime import datetime
shortDate = datetime.today().strftime('%Y-%m-%d')