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

timeStamp and DOMTimeStamp

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 27 Mar 2006 20:35:16 +0000 (UTC)
To: public-webapi@w3.org
Message-ID: <Pine.LNX.4.62.0603272021320.315@dhalsim.dreamhost.com>


I tested IE7b2, Opera 8.5, Firefox 20060217, and WebKit 417.9.2 with:

   <!DOCTYPE html><body onload="alert(event.timeStamp)">

IE doesn't have timeStamp (undefined).

Opera and Firefox returned 0.

Safari returned milliseconds since the Unix epoch.

I propose we define DOMTimeStamp in ECMAScript as being a Number giving 
the number of milliseconds, excluding those in leap seconds, since 
1970-01-01T00:00:00.0Z.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

ISSUE-52
ACTION-117
Received on Monday, 27 March 2006 20:35:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT