RE: Date parsing question...
RE: Date parsing question...
- Subject: RE: Date parsing question...
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Tue, 28 Oct 2003 18:09:27 -0500
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of Sailesh Agrawal
>
Sent: Tuesday, October 28, 2003 4:28 PM
>
To: Daniele M.; email@hidden
>
Subject: Re: Date parsing question...
>
>
>
This might work:
>
>
NSCalendarDate *today = [NSCalendarDate
>
dateWithString:@"20031028180309"
>
calendarFormat:@"%YmdHMS"];
No, it won't. But it will if you put % before each formatting token, i.e.
%Y%m%d%H%M%S.
Jonathan
_______________________________________________
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.