Created
April 15, 2013 06:51
-
-
Save tempos21ios/5386198 to your computer and use it in GitHub Desktop.
Java 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)javaUnixTimeStamp:(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