handle time in python
-
Strptime () function in Python
this article shows you how to create a datetime object (date, time, and time) from the corresponding string. -
Strftime () function in Python
this article shows you how to convert date, time, and time objects into strings corresponding to a given format.