54732/extracting-time-from-a-timedelta
Use the following piece of code:
import datetime a = datetime.timedelta(0, 3600) print((datetime.datetime.min + a).time())
OUTPUT:
01:00:00
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.