Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!brl-smoke!smoke!lcc.jbrown@LOCUS.UCLA.EDU From: lcc.jbrown@LOCUS.UCLA.EDU (Jordan Brown) Newsgroups: net.unix Subject: Dates Message-ID: <3521@brl-smoke.ARPA> Date: Wed, 3-Sep-86 12:27:31 EDT Article-I.D.: brl-smok.3521 Posted: Wed Sep 3 12:27:31 1986 Date-Received: Thu, 4-Sep-86 06:44:16 EDT Sender: news@brl-smoke.ARPA Lines: 4 I forget who asked about day-of-week, but a little experimentation shows that for the base date used by ACM#199 you need (j+1)%7. This means, I think, that their day 0 is a Monday. The result is 0 for Sunday through 6 for Saturday.