Created
October 5, 2011 10:06
-
-
Save 8maki/1264088 to your computer and use it in GitHub Desktop.
convert_datetime_to_unixtime
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def convert_datetime_to_unixtime(d) | |
| time.mktime(d.timetuple()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment