• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSDate's descriptionwithLocale method output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSDate's descriptionwithLocale method output
      • From: Arun <email@hidden>
References: 
 >NSDate's descriptionwithLocale method output (From: Arun <email@hidden>)

  • Prev by Date: Re: Need some advice on multithreading
  • Next by Date: Re: Killing a Thread
  • Previous by thread: NSDate's descriptionwithLocale method output
  • Next by thread: Re: NSDate's descriptionwithLocale method output
  • Index(es):
    • Date
    • Thread