how to add time with time delta in python
from datetime import timedelta, datetime
now = datetime.now()
print("Today is:-",now)
print("600 hours later than today will be", str(now + timedelta(hours=600)))
how to add time with time delta in python
from datetime import timedelta, datetime
now = datetime.now()
print("Today is:-",now)
print("600 hours later than today will be", str(now + timedelta(hours=600)))
add time delta pytohn
import datetime
ts = ts + datetime.timedelta(seconds=1)
ts = ts + datetime.timedelta(minutes=1)
ts = ts + datetime.timedelta(hours=1)
ts = ts + datetime.timedelta(days=1)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us