• 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: Representing UTC time in a readable format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Representing UTC time in a readable format


  • Subject: Re: Representing UTC time in a readable format
  • From: Andreas Mayer <email@hidden>
  • Date: Fri, 4 Jun 2004 19:14:28 +0200

Am 04.06.2004 um 18:39 schrieb Jeremy Dronfield:

Given that the user wants the ability to insert UTC in text (with a format something like "000000 UTC"), what should I do here?

Just use an appropriate format string. See
http://developer.apple.com/documentation/Cocoa/Conceptual/ DataFormatting/Concepts/DateFormatters.html

Something like @"%Y-%m-%d %H:%M:%SZ" should be correct for UTC:

2004-06-04 16:30:24Z

with a format something like "000000 UTC"

I don't think "UTC" an official designator. Look at ISO 8601 which Creed mentioned before.


Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Representing UTC time in a readable format
      • From: Jeremy Dronfield <email@hidden>
References: 
 >Representing UTC time in a readable format (From: Jeremy Dronfield <email@hidden>)
 >Re: Representing UTC time in a readable format (From: j o a r <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Jeremy Dronfield <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Malte Tancred <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Stupid question: selected object of an array controller
  • Next by Date: Re: Is that really a bug at all? (was: Re: Ugly bug in Foundation, beware!)
  • Previous by thread: Re: Representing UTC time in a readable format
  • Next by thread: Re: Representing UTC time in a readable format
  • Index(es):
    • Date
    • Thread