Wrong format



its showing the following error messege -printed date and time do not seem to be in the right format: mm/dd/yyyy hh:mm:ss

Replace this line with your code.
from datetime import datetime
now = datetime.now()

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


Have you tried a reset Browser using the F5-function-Key


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.