Re: Representing UTC time in a readable format
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.