Re: Date parsing question...
Re: Date parsing question...
- Subject: Re: Date parsing question...
- From: "Sailesh Agrawal" <email@hidden>
- Date: Tue, 28 Oct 2003 17:28:18 -0400
This might work:
NSCalendarDate *today = [NSCalendarDate
dateWithString:@"20031028180309"
calendarFormat:@"%YmdHMS"];
If not you could try hacking it. i.e. delimit the string your self and
then call dateWithString.
good luck!
Sailesh
On Tue, 28 Oct 2003 19:09:22 +0100, "Daniele M." <email@hidden>
said:
>
hello, I have a string like this 20031028180309 (it's a date:
>
2003/10/28 18:03:09). I have tried to parse it using dateWithString and
>
dateWithNaturalLanguage...but with null/wrong result. Is there a method
>
to parse it?
>
>
thx
>
daniele
>
_______________________________________________
>
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.