Created
September 1, 2014 08:49
-
-
Save mobilestack/ff1ee0b9657e762910f1 to your computer and use it in GitHub Desktop.
from python datetime object to int
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
tt = target_user.created_time | |
tt_int = time.mktime(tt.timetuple()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment