Re: NSDate's descriptionwithLocale method output
Re: NSDate's descriptionwithLocale method output
- Subject: Re: NSDate's descriptionwithLocale method output
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 25 Nov 2008 11:16:24 -0700
On Nov 25, 2008, at 11:12 AM, Arun wrote:
Thanks for the suggestion. But i have a requirement where in if the
user changes the format of date and time in
the system, the same format should be presented back to him. So i
thought descriptionWithLocale will take care of
the change user makes to his settings. So if i use NSDateFormatter,
how will handle this situation.?any clues?
NSDateFormatter changes with the user's preferences if you are using
the 10.4 formatter style and set the date/time style. If you want to
remove something from the format afterwards, such as the time zone
(which is not normally included in a formatted date, unless the user
is using a custom format), then you can edit the date format string.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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