Created
April 24, 2013 10:52
-
-
Save mikina/5451304 to your computer and use it in GitHub Desktop.
Timestamp to date
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
| NSTimeInterval _interval = [dateattr doubleValue]; | |
| NSDate *date = [NSDate dateWithTimeIntervalSince1970:_interval]; | |
| n.date_ = date; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment