from datetime import datetime now = datetime.now() print('%02d/%02d/%04d %02d:%02d:%02d' % (now.month, now.day, now.year, now.hour, now.minute, now.second))
To embed this project on your website, copy the following code and paste it into your website's HTML: