home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / std / internat / 905 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.7 KB

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