Basic date and time data types
In Python the datetime module provides classes for manipulating dates and times.The date and time arithmetic implementation is supported. Focus of this implementation is on an efficient attribute extraction for output formatting and manipulation. In the above code%d represents day, %m is for month, %Y is year, %H is hour, %M is month, %S is second, and %f is float formats.