tags:

views:

207

answers:

1

I have the value of the epoch time like say 123456789, now i want to convert this into NSDate in cocoa framework. can anyone show me?

thanks

+6  A: 

Documentation is your friend!

NSDate* date = [NSDate dateWithTimeIntervalSince1970:123456789];
Jason Coco