Hot date


#1

from datetime import datetime
now = datetime.now()
print datetime.now()

print '%s/%s/%s   %s:%s:%s' % (now.month,now.day,now.year,now.hour, now.minute, now.second)

output is right bt itzz showing error

Oops, try again.
    Your printed date and time do not seem to be in the right format: mm/dd/yyyy hh:mm:ss

#2

The format in which your try to print it out is a bit off...

print '%s/%s/%s %s:%s:%s' % (now.month, now.day, now.year, now.hour, now.minute, now.second)

This is how your code should look :slight_smile: