NSDate Convert milliseconds to NSDate.

Posted by user208041 on Stack Overflow See other posts from Stack Overflow or by user208041
Published on 2010-04-29T22:28:48Z Indexed on 2010/04/29 22:47 UTC
Read the original article Hit count: 863

Filed under:
|

Hi Guys

I have this 1273636800000

Wed Mar 03 2010 00:00:00 GMT-0500 (EST)

I nee dto convert this milliseonds to NSdate format.

I tried this

NSDate *tr = [NSDate dateWithTimeIntervalSince1970:1273636800000];

and

NSDate *tr = [NSDate dateWithTimeIntervalSinceNow:1273636800000];

But I cat get it to work... anyone had thsi problem and found solution

V

© Stack Overflow or respective owner

Related posts about iphone

Related posts about nsdate