Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
While reading a plist file, I am gettting a date value as double. How can I convert it to NSDate?
Any idea??
Thanks
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
How long is a piece of string?

Unless you know what the double represents in terms of time this is impossible. Is it the number of milliseconds since a particular date/time? If so what date/time?
 

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
It is the date field [last visited date] in the SuspendState.plist file which I am getting in numeric format.
Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.