Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def change_date(plus_hour=0, plus_day=0):
- date = datetime.now().replace(hour=datetime.now().hour + plus_hour, day=datetime.now().day + plus_day)
- return date
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement