I want to convert my timestamp value 1308031456 to NSDate format (which yields the value Tue, 14 Jun 2011 06:04:16 GMT in online web c
1308031456
NSDate
Tue, 14 Jun 2011 06:04:16 GMT
You can use the use the method dateWithTimeIntervalSince1970: to convert the timestamp you've which is the epoch time.
dateWithTimeIntervalSince1970:
NSDate * myDate = [NSDate dateWithTimeIntervalSince1970:1308031456];