Python provides the datetime module to work with dates and times. You can get the current date and time, format them, and perform calculations.
datetime
Use the datetime.now() method to get the
datetime.now()