• 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: Malte Tancred <email@hidden>
  • Date: Sat, 5 Jun 2004 12:08:37 +0200

On 4 jun 2004, at 23.15, Creed Erickson wrote:
On Friday, June 4, 2004, at 11:23 AM, Jeremy Dronfield wrote:
or the difference between UTC and "official" time? As in:

1997-06-30 23:59:59 UTC = 1997-07-01 00:00:29 TAI
1997-06-30 23:59:60 UTC = 1997-07-01 00:00:30 TAI (Example from http://cr.yp.to/proto/utctai.html)

This is an apples and aardvarks comparison. "UTC" is a REPRESENTATION standard for any date and time. "UTC" dates and times can be leap-second corrected or not and still fit the representation standard. To have a UTC formatted date, all you need do is apply an appropriate format to an NSDate, as has been suggested. TAI is a standard for date and time DATA. Comparing TIA to UTC is like comparing a specific word to the font face it's presented in. It winds up being a nonsensical comparison.

I'm not sure I follow you here. Are you saying that "UTC" defines how a date and time is to be presented visually, e.g. as in the string "2004-05-23T13:15:27Z"? Or do you mean something else when you write "REPRESENTATION standard for any date and time."?

I might of course be totally misinformed, but to the best of my knowledge UTC is as much a time scale as TAI is, the only difference being the periodic insertion of leap seconds in UTC.

Regards,
Malte

--
Malte Tancred
Computer Programmer
Oops AB, http://oops.se/
_______________________________________________
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: Creed Erickson <email@hidden>
References: 
 >Re: Representing UTC time in a readable format (From: Creed Erickson <email@hidden>)

  • Prev by Date: Re: Drawing a view and its subviews to an NSImage
  • Next by Date: Re: Representing UTC time in a readable format
  • 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