Write a python program to get next date of a given date
Answers
Answered by
0
Answer:
Get Previous, Current and Next-Day System Dates in Python
Current Date: import datetime Current_Date = datetime.datetime.today() print (Current_Date)
Previous Date: import datetime Previous_Date = datetime.datetime.today() - datetime.timedelta(days=1) print (Previous_Date)
Similar questions