Answers for "python timestamp shift one day"

1

python timestamp shift one day

from datetime import datetime, timedelta
print datetime.now() + timedelta(days=5, hours=-5)
Posted by: Guest on May-11-2020

Python Answers by Framework

Browse Popular Code Answers by Language