import datetime datetime.datetime.now().timestamp()
from datetime import datetime dt = datetime.today() # Get timezone naive now seconds = dt.timestamp()