decrease hours in datetime python

Solutions on MaxInterview for decrease hours in datetime python by the best coders in the world

showing results for - "decrease hours in datetime python"
Lia
17 Sep 2016
1from datetime import datetime, timedelta
2d = datetime.today() - timedelta(hours=1, minutes=50)