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 10:17:21 -0700
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 if i need to takeout the timezone information from the string
what is the
best wat of doing it?
Use NSDateFormatter to get a formatted date string in exactly the way
you want.
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