Computer Science, asked by shoib8802, 11 months ago

Write a python program to get next date of a given date

Answers

Answered by harshika8437
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