How to convert a string in the format "%d/%m/%Y" to timestamp?
"%d/%m/%Y"
"01/12/2011" -> 1322697600
>>> import time >>> import datetime >>> s = "01/12/2011" >>> time.mktime(datetime.datetime.strptime(s, "%d/%m/%Y").timetuple()) 1322697600.0
1.4m articles
1.4m replys
5 comments
57.0k users