# your code goes hereimport datetime dt = datetime.datetime.now()print(dt)update_time = dt + datetime.timedelta(days=-1)print(update_time)
Standard input is empty
2022-10-06 21:25:37.491816 2022-10-05 21:25:37.491816
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!