Python: datetime to timestamp


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. start_stamp = mktime(start.timetuple())

URL: http://www.saltycrane.com/blog/2008/11/python-datetime-time-conversions/

Report this snippet


Comments


You need to login to view comments.