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

NSDateFormatter


  • Subject: NSDateFormatter
  • From: Ali Lalani (list) <email@hidden>
  • Date: Wed, 21 Aug 2002 12:20:10 -0400

I'm having a problem with NSDateFormatter. I'm wondering if it is possible to get it to parse dates entered(on textfields with dateformatters) with, say, Day/Month/Year configurations instead of Month/Day/Year. This is not to be confused with dateFormat which contains the format it turns dates entered into. When it reads in a date string from the textfield, it seems to expect the data a specific way, for instance if i type in:
09/06/02
it reads it as the 9th month, 6th day of 2002. I would like it to interpret that string as the 9th day, 6th month, but i can't seem to figure out how to instruct it to do so(my International preferences are set to Day/Month/Year but it doesn't seem to take that into consideration)...if anyone understands my babble and can help me out, let me know, and thanks in advance :)


Ali Lalani
e-mail: email@hidden
_______________________________________________
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: NSDateFormatter
      • From: Itrat Khan <email@hidden>
    • Re: NSDateFormatter
      • From: Isaac Sherman <email@hidden>
  • Prev by Date: Re: regenerate a nib file from the output of nibtool?
  • Next by Date: Re: NSDateFormatter
  • Previous by thread: Re: Pipes and Shell Commands
  • Next by thread: Re: NSDateFormatter
  • Index(es):
    • Date
    • Thread