W3C home > Mailing lists > Public > www-html@w3.org > August 2006

Re: HTML has, probably, confusing date format

From: Sebastian Mendel <lists@sebastianmendel.de>
Date: Tue, 08 Aug 2006 13:33:53 +0200
Message-ID: <44D876A1.4020706@sebastianmendel.de>
To: www-html@w3.org

Cyril schrieb:

> `Astonishing discovery!
> 
> `Even hundred years have not passed before I have luck in discovering
> `disharmony in common date notation. Thus, for example, 20th minute
> `of 5th hour is written as "4:19" (☝ begun with last hour's number)
> `while 20th day of 5th month is written as "5/20" (☝ begun with
> `current month's number).
> 
> `Additional examples of the disharmony:
> `      4 hours, 11 minutes, and 4 seconds are written as 4:11:04
> `while 4 days,  11 months, and 2004 years are written as 5.12.05
> 
> `      3rd day in 4th month of the year 2005 is written as 2005.04.03
> `while 3rd second in 4th minute of  5th hour is written as   04:03:02

did you missed that hours, minutes and seconds start from 0 and days,
weeks, month start from 1?

time represents the timespan since a defined place in time

12:34:13 means 12 hours 34 minutes and 13 seconds after midnight of this
day - or just the duration of 12 hours 34 minutes and 13 seconds

and date represents a specific date

you cannot compare date and time values this way


-- 
Sebastian Mendel

www.sebastianmendel.de
Received on Tuesday, 8 August 2006 11:30:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:07 GMT