iPhone SDK - Number of days between day and today

Posted by Hankweb on Stack Overflow See other posts from Stack Overflow or by Hankweb
Published on 2010-05-31T21:51:12Z Indexed on 2010/05/31 21:53 UTC
Read the original article Hit count: 226

Filed under:
|

I need help on how to find out how many days it has been (seven day weeks, MSTimezone) since May 6th, 2009

[NSDate *m62009 = [NSDate dateWithTimeIntervalSinceReferenceDate:231638400]; [m62009 setTimeZone:[NSTimeZone timeZoneWithAbbreviation:@"MST"]; (to help you - 231638400 seconds from 1/1/2001)

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about nsdate