W3C home > Mailing lists > Public > public-webapi@w3.org > March 2006

Re: timeStamp and DOMTimeStamp

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 28 Mar 2006 06:09:50 +0200
To: Ian Hickson <ian@hixie.ch>
Cc: public-webapi@w3.org
Message-ID: <47dh2259b869v6pka8g82ilq1vajlk3mka@hive.bjoern.hoehrmann.de>

* Ian Hickson wrote:
>I propose we define DOMTimeStamp in ECMAScript as being a Number giving 
>the number of milliseconds, excluding those in leap seconds, since 

While the current text isn't particularily clear, my reading is that
implementations should determine some "epoch" time and set the time-
Stamp relative to it for all events. This may but need not be the
time you suggest, the system start time is given as another example.

I think this is sensible since the implementation does not necessarily
have access to the current time or might not want to make it available
to applications due to security concerns. When applications do have
access to this information, they can easily derive it from a timeStamp
by comparing two of them with a given time.

Is there a specific reason why you think this should be relative to
this specific time?
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 28 March 2006 04:09:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:20 UTC