import datetime now = datetime.datetime.now()date_time = now.strftime('%m-%d-%Y %H:%M')print date_time
Standard input is empty
02-09-2012 09:02
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!