home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!tik.vtt.fi!tik.vtt.fi!tml
- From: tml@tik.vtt.fi (Tor Lillqvist)
- Newsgroups: comp.std.internat
- Subject: Re: Week Numbering
- Date: 18 Dec 92 16:11:33
- Organization: Technical Research Centre of Finland, Laboratory for Information
- Processing (VTT/TIK)
- Lines: 24
- Message-ID: <TML.92Dec18161133@tiuhti.tik.vtt.fi>
- References: <1992Dec18.000103.29489@nmpd.oz.au> <1992Dec18.105632.2494@odin.diku.dk>
- NNTP-Posting-Host: tiuhti.tik.vtt.fi
- In-reply-to: torbenm@diku.dk's message of 18 Dec 92 10:56:32 GMT
-
- In article <1992Dec18.105632.2494@odin.diku.dk> torbenm@diku.dk (Torben AEgidius Mogensen) writes:
- >Is there an international standard for numbering weeks.
-
- Yes, there is an ISO standard. I don't recall the number. As far as I
- know, week numbers aren't much used in the US, for instance. At least
- in the Nordic countries it is very common to refer to week numbers, as
- in "How about week 24 for the next meeting?".
-
- It is interesting to note that ANSI C and POSIX strftime(3) uses the
- wrong week numbering algorithm, at least according to its manual page
- in HP-UX, which says:
-
- %W week number of the year (the first Monday as the first
- day of week 1) as a decimal number [00,53]
-
- while the standard says that the week which contains the first
- Thursday is week one. Week one could thus start in the previous year,
- as it did this year, 1992. Week 1 began on Monday, 1991-12-30 (this is
- the ISO standard (human-readable) date format, btw), and ended on
- Sunday, 1992-01-05.
- --
- Tor Lillqvist,
- working, but not speaking, for the Technical Research Centre of Finland,
- Laboratory for Information Processing (VTT/TIK).
-