import time t=time.localtime()formatted_time = time.strftime("%Y-%m-%d %H:%M:%S",t)print(formatted_time)
Standard input is empty
2024-05-15 09:45:36
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!