Date and Time Conversion with TimeZone
Date and Time Conversion with TimeZone
- Subject: Date and Time Conversion with TimeZone
- From: email@hidden
- Date: Tue, 1 Jul 2008 13:20:17 -0400
Hello,
I have a date event returned as a date time string from a feed in the
following format,
"Tue 01 Jul 2008 15:00:00 +0100"
I'm assuming this is GMT plus one hour, I'd like to convert this string to
the to a more user friendly date time string such as,
"Today at 9:00am" or "Tue Jul 01, 2008 9:00am"
that would take into account the current Time Zone setting of the Mac
displaying the date event. I've looked at the NSDateFormatter and
NSCalendarDate, but didn't see anything that takes into account the Time
Zone setting on the current Mac. Does anyone know of where I might find or
have a sample of a code snippet that does something similar to this?
Thank you,
Wayne
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden