/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import datetime import time import email.Utils hoy = datetime.datetime.now() hoySec = time.mktime(now.timetuple()) fecha = email.Utils.formatdate(hoySec) fecha[0:len(fecha)-6] + " CET"