Re: NSDate's descriptionwithLocale method output

2008-11-25 Thread Nick Zitzmann
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

Re: NSDate's descriptionwithLocale method output

2008-11-25 Thread Arun
Hi Nick, 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 NSDateFormat

Re: NSDate's descriptionwithLocale method output

2008-11-25 Thread Nick Zitzmann
On Nov 25, 2008, at 9:56 AM, Arun wrote: I have an NSDate object and if i call descriptionwithLocale method, i am getting a NSString * which upon printing gives Date and time time in the format set by the user. In that string at the end it gives Info abot timezone also like +GMT 05:30. So

NSDate's descriptionwithLocale method output

2008-11-25 Thread Arun
Hi All, I have an NSDate object and if i call descriptionwithLocale method, i am getting a NSString * which upon printing gives Date and time time in the format set by the user. In that string at the end it gives Info abot timezone also like +GMT 05:30. So if i need to takeout the timezone informa