home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!gmd.de!moore3!reichelt
- From: peter.reichelt@gmd.de
- Subject: Re: Week numbers
- Message-ID: <reichelt.724430526@moore3>
- Sender: news@gmd.de (USENET News)
- Nntp-Posting-Host: moore3
- Organization: GMD, Sankt Augustin, Germany
- References: <Bz3nBs.3E3@cs.vu.nl> <1992Dec15.000536.15663@qiclab.scn.rain.com>
- Date: Tue, 15 Dec 1992 14:42:06 GMT
- Lines: 35
-
- leonard@qiclab.scn.rain.com (Leonard Erickson) writes:
-
- >sbakker@cs.vu.nl (Bakker S) writes:
-
- >>Can anyone tell me how to number weeks, i.e. does Jan. 1 fall into week #1 or
- >>week #52? For example, in 1992 Jan. 1 fell into week #1, but in 1993 it will
- >>fall into week #52 of '92.
-
- >>Am I right in assuming that it's week #1 if Jan. 1 is either Monday, Tuesday,
- >>or Wednesday, and #52 otherwise?
-
- [ ... ]
-
- >As I say, there's no standard.
-
- In Germany there is a standard for counting the weeks.
- It's called DIN 1355.
-
- The first week of the year is that one, which contains at least 4 of the
- 7 first days in January.
-
- Equivalent: The first week of the year is that one, which contains the
- first Thursday of the year.
-
- Examples: 30th of December 1991 is in the 1st week of 1992;
- 2nd of January 1993 is in the 53th week of 1992.
-
- Peculiar perhaps, but logical.
-
- Peter.
- --
- ------------------------------------------------------------------------
- Peter Reichelt, Gesellschaft fuer Mathematik und Datenverarbeitung (GMD)
- Rathausallee 10 / Postfach 1316 Telefon 02241-14-3291 (Fax -3006)
- 5205 Sankt Augustin E-mail peter.reichelt@gmd.de
-