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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]