• 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: International date formatting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: International date formatting


  • Subject: Re: International date formatting
  • From: Frederick Cheung <email@hidden>
  • Date: Fri, 20 May 2005 18:30:46 +0100


On 20 May 2005, at 07:45, Ben Kazez wrote:

Hi,

I'm new to Cocoa internationalization. Is there a way to format an NSDate according to the current locale so that it displays the weekday, full month name, and date but no year? In other words, in US English I want:

    Thursday, May 19

In French from France, this would be (I think):

    vendredi 19 mai


How about the CFDateFormatter stuff, in particular CFDateFormatterSetFormat allows you to create pretty much any date format you want.

Fred

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: International date formatting
      • From: "Sean McBride" <email@hidden>
References: 
 >International date formatting (From: Ben Kazez <email@hidden>)

  • Prev by Date: Re: Obtain directory size.
  • Next by Date: NSFileManager and Mac OS X: fully compatible before the end of days?
  • Previous by thread: Re: International date formatting
  • Next by thread: Re: International date formatting
  • Index(es):
    • Date
    • Thread