NSCalendarDate Questions
NSCalendarDate Questions
- Subject: NSCalendarDate Questions
- From: Rhon Fitzwater <email@hidden>
- Date: Thu, 3 Jun 2004 18:50:28 -0400
Okay, so here is what I want to do:
- write to a file the current date via NSCalendarDate
- read the date written to a file and compare it against the current
date
- have the comparison return the difference in days
// Is below how I set the current date
NSCalendarDate *now = [NSCalendarDate calendarDate];
I've done some reading on NSDate and NSCalendarDate. No one seems to
have an example or reading a date from file and comparing it against
the current date.
Can some one either point me to some examples or sample code, or just
give me help in general.
The more the merrier.
Thank you,
-Rhon
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.