• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSCalendarDate Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: NSCalendarDate Questions
      • From: Larry Fransson <email@hidden>
  • Prev by Date: Re: Are Bindings Redundant?
  • Next by Date: Re: very sluggish editing
  • Previous by thread: Using small arrows in an outline view
  • Next by thread: Re: NSCalendarDate Questions
  • Index(es):
    • Date
    • Thread