• 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: Getting date and time in regional language
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting date and time in regional language


  • Subject: Re: Getting date and time in regional language
  • From: Deborah Goldsmith <email@hidden>
  • Date: Thu, 06 Dec 2007 14:13:10 -0800

You'll have to do two different things, based on whether you're running on 10.3 or earlier vs. 10.4 or later, in order to get correct behavior. If you're running on 10.3 or earlier, don't set the 10.4 behavior.

Deborah Goldsmith
Internationalization, Unicode Liaison
Apple Inc.
email@hidden

On Dec 5, 2007, at 9:16 PM, parag vibhute wrote:

How will I implement code for 10.3 also?


On Dec 5, 2007 1:42 AM, Nick Zitzmann <email@hidden> wrote:


On Dec 4, 2007, at 3:22 AM, parag vibhute wrote:

Bcoz of this I can see date in local language (i.e. chinese) in
menubar. I
want same date i.e. in chinese language using cocoa api which I will
use to
show in my application. How to get this date in local language?


Use 10.4-behavior NSDateFormatter objects. Check the documentation for
more details.


Nick Zitzmann
<http://www.chronosnet.com/>







--

There are many things in your life that will catch your eye but only a few
will catch your heart....pursue those'.
_______________________________________________


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

_______________________________________________

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: Getting date and time in regional language
      • From: "parag vibhute" <email@hidden>
References: 
 >Getting date and time in regional language (From: "parag vibhute" <email@hidden>)
 >Re: Getting date and time in regional language (From: Nick Zitzmann <email@hidden>)
 >Re: Getting date and time in regional language (From: "parag vibhute" <email@hidden>)

  • Prev by Date: -[NSImage TIFFRepresentation] failing on the multiple files icon?
  • Next by Date: NSNib: replacement objects
  • Previous by thread: Re: Getting date and time in regional language
  • Next by thread: Re: Getting date and time in regional language
  • Index(es):
    • Date
    • Thread