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

Re: date parsing


  • Subject: Re: date parsing
  • From: Darkshadow <email@hidden>
  • Date: Mon, 2 Jun 2003 01:05:16 -0400
  • Nightproductions: dreamstatic.dyndns.org

If you're trying to get a string from that, then do

[[NSCalanderDate dateWithString:@"20030602T04:21:10"]descriptionWithCalendarFormat:@"%y%m %dT%H:%M:%S"]

On Monday, June 2, 2003, at 12:31 AM, Lloyd Dupont wrote:

I'm unsuccessfully trying to parse a date.
I tried :
[NSCalendarDate dateWithString: @"20030602T04:21:10" calendarFormat: @"%y%m%dT%H:%M:%S" locale:nil]

and
[NSCalendarDate dateWithString: @"20030602T04:21:10" calendarFormat: @"%y%m%dT%H:%M:%S"]

but none works.
any tip ?
the documentation is a bit terse ...
_______________________________________________
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: 
 >date parsing (From: Lloyd Dupont <email@hidden>)

  • Prev by Date: Re: where is documentation for NSZombieEnabled?
  • Next by Date: Re: Document Bundles
  • Previous by thread: date parsing
  • Next by thread: Re: date parsing
  • Index(es):
    • Date
    • Thread