Issues about Date and Time
Edit Page
Report
Scan day: 05 March 2014 UTC
40
Virus safety - good
Description: by Clive D.W. Feather.
SC22/WG14 N764 J11/97/128 Issues about time Clive D.W. Feather [email protected] 1997-09-22 Abstract -------- N735 contained a number of items (20 to 25) concerning the time-related functions. In addition, N733 added four new conversion specifiers to strftime(). Since discussion in the ISO-8601 community shows that some of these changes were flawed, and since all these items are related, this paper attempts to address all these issues at once. Discussion - ISO 8601 weeks --------------------------- ISO 8601 specifies the concept of a week number in the year and the day within the week. Weeks always begin on a Monday, so, for example, Wednesday 12th January 1997 is the third day of week two of 1997 which, in ISO format, is "1997-W02-3" or "1997W023". The first week of the year is specified to be that containing January 4th or, equivalently, that containing the first Thursday of January. However, ISO 8601 does not explicitly show how to indicate days in January before week 1 of the year, or days in December that are in the same week as week 1 of the next year. For example, in 1999 week 1 starts on Monday 4rd January, and so there is an issue as to how to express January 1st to 3rd; similarly, in 1998 week 1 includes Thursday 1st January, and so there is an issue as to how to express the last three days of 1997. The changes in N733 assumed that dates always belong to the current year. However, current practice among users of ISO 8601 is to give every day of a week the same week and year number. Thus we see the following: Date N733 Current practice 1998-12-31 1998-W53-4 1998-W53-4 1999-01-01 1999-W00-5 1998-W53-5 1999-01-02 1999-W00-6 1998-W53-6 1999-01-03 1999-W00-7 1998-W53-7 1999-01-04 1999-W01-1 1998-W01-1 1997-12-28 1997-W52-7 1997-W52-7 1997-12-29 1997-W53-1 1998-W01-1 1997-12-30 1997-W53-2 1998-W01-2 1997-12-31 1997-W53-3 1998-W01-3 1998-01-01 1998-W01-4 1998-W01-4 Current practice also uses different letters for the specifiers. Given this, the changes of N733 should be altered. Proposals ---
Size: 2048 chars
Contact Information
Email: —
Phone&Fax: —
Address: —
Extended: —
WEBSITE Info
Page title: | |
Keywords: | |
Description: | |
IP-address: | 88.98.24.67 |
WHOIS Info
NS | Name Server:NS0.ZEN.CO.UK Name Server:NS1.ZEN.CO.UK Name Server: Name Server: Name Server: Name Server: Name Server: Name Server: Name Server: Name Server: Name Server: |
WHOIS | Status: ok |
Date | Creation Date: 1996-10-07T04:00:00Z Expiry Date: 2014-10-06T04:00:00Z |