date and Time

 

  • Date and time is a module which which consists of data about Date and time
  •  

    Date time dropdown:

     

    Date time applicable to below time duration only:

    print(dir(datetime.timedelta))

    weeks,days,hours, seconds, microseconds, milliseconds, minutes

     

  • some functions of datetime format
  •  

     

     

     

    date and Time

     

     

    date and Time - date

     

     

    date time - dir

     

     

    date time - today()

     

     

    date time - today() - year --month --date

     

     

    date time - weekday

     

     

     

    difference between two dates

     

     

    timedelta

     

     

    timedelta - weeks,days,year