0

I need to convert date in milliseconds (Date(1322030548000+0530)) into corresponding date like Thu Sep 29 20:56:00 GMT+02:00 (its just an example). How can I do that?

Thanks.

Mithuzz
  • 1,091
  • 14
  • 43
  • possible duplicate of [NSDate Convert milliseconds to NSDate](http://stackoverflow.com/questions/2741199/nsdate-convert-milliseconds-to-nsdate) – beryllium Nov 23 '11 at 08:02

1 Answers1

1

What you'll want to look for is code such as:

dateWithTimeIntervalSince*:seconds

where * is 1970, Now, ReferenceDate

An example and answer is given in the link here: Convert milliseconds to NSDate

Community
  • 1
  • 1
Brayden
  • 1,795
  • 14
  • 20