Created
February 27, 2013 11:09
-
-
Save jlcampana/5047167 to your computer and use it in GitHub Desktop.
Unix timestamp
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
-(long long int)getUnixTimeStamp:(NSDate *)fecha | |
{ | |
long long int ti = ( (long long int)[fecha timeIntervalSince1970]); | |
ti *= 1000; | |
return ti; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment