Answers for "how to add hours to current time in python"

1

add hour minutes second python

from datetime import timedelta
t1 = datetime.time(hours, minutes, second) + timedelta(seconds=s, minutes=m, hours=h)
Posted by: Guest on September-01-2020

Code answers related to "how to add hours to current time in python"

Browse Popular Code Answers by Language