fork download
  1. import time
  2.  
  3. formatted_time = time.strftime("%Y-%m-%d %H:%M:%S",t)
  4. print(formatted_time)
Success #stdin #stdout 0.03s 9196KB
stdin
Standard input is empty
stdout
2024-05-15 09:45:36