import datetimed = datetime.datetime.today()print(d)print(d.strftime('%Y/%m/%d %H:%M:%S'))
Standard input is empty
2017-08-15 23:18:52.788858 2017/08/15 23:18:52
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!