Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inthr = int(schedhr)
- intmin = int(schedmin)
- rawmins = (inthr * 60) + intmin
- fixedmins = rawmins - 15
- min = timedelta(minutes=int(fixedmins))
- d = datetime(1,1,1) + min
- prephr = d.hour
- prepmin = d.minute
Add Comment
Please, Sign In to add comment