Hi guys, I got a small problem . I have this date format from .net json output:
Date(1280471989140);
when I try to convert using
+ (NSDate*)dateFromUnixDate:(double)unixdate {
NSTimeInterval unixDate = unixdate;
return [NSDate dateWithTimeIntervalSince1970:unixDate];}
but I got the wrong date back,why?
thanks