Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python convert date to timestamp

import time
import datetime
s = "01/12/2011"
time.mktime(datetime.datetime.strptime(s, "%d/%m/%Y").timetuple())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #convert #date #timestamp
ADD COMMENT
Topic
Name
7+3 =