Re: date parsing
Re: date parsing
- Subject: Re: date parsing
- From: j o a r <email@hidden>
- Date: Mon, 2 Jun 2003 07:27:09 +0200
You should have a capital "Y" for a four-digit year, right?
<file:///Developer/Documentation/Cocoa/TasksAndConcepts/
ProgrammingTopics/DataFormatting/Tasks/SettingFormatForDates.html>
j o a r
On Monday, Jun 2, 2003, at 06:31 Europe/Stockholm, 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.
References: | |
| >date parsing (From: Lloyd Dupont <email@hidden>) |