NSDate vs. CFDate
NSDate vs. CFDate
- Subject: NSDate vs. CFDate
- From: Jim Menard <email@hidden>
- Date: Thu, 27 Jun 2002 08:09:43 -0500
I store an NSDate into a preferences file and it gets stored as
<date>2002-05-01T04:00:00Z</date>
When I read it back out, a CFDate (or NSCFDate) object gets created, not an
NSDate as I would like.
How do I create an NSDate from a NSCFDate? I can't find NSCFDate in the
headers anywhere. Do I have to call something like CFDateGetAbsoluteTime
and pass that time to some NSDate constructor?
Jim
--
Jim Menard, email@hidden,
http://www.io.com/~jimm/
"Do Squeakers Dream of Electric Mice?" -- Mike Thomas
(
http://www.squeak.org)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.