• 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
Re: NSDate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDate


  • Subject: Re: NSDate
  • From: Daniel Todd Currie <email@hidden>
  • Date: Wed, 4 Feb 2004 21:59:50 -0800

You want:

[NSDate dateWithNaturalLanguageString:@"2/04/04"];

This will return a date object that you can compare to another date.


On 2004 Feb 04, at 21:39, April Gendill wrote:

Is it possible to take a string such as 2/04/04 and compare it to an NSDate object?

so far I simply cannot seem to get the string into something that would allow me to compare or sort or anything.

April
_______________________________________________
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.
_______________________________________________
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.

References: 
 >NSDate (From: April Gendill <email@hidden>)

  • Prev by Date: Re: NSDate
  • Next by Date: Re: NSDate
  • Previous by thread: Re: NSDate
  • Next by thread: Re: NSDate
  • Index(es):
    • Date
    • Thread