crontab: Sunday=7, not 0.

Leif Samuelsson leif at erisun.UUCP
Mon Nov 11 01:12:19 AEST 1985


In article <2006 at umcp-cs.UUCP> chris at umcp-cs.UUCP (Chris Torek) writes:
>> I believe the V7 man page lied; it said the days went 1-7 with 1=Monday,
>> when the actually went 0-6 with 0-Sunday.  The USG/USDL (people who brought
>> you S3/S5) fixed the man page.  The CSRG at UCB (people who brought you
>> 4.xBSD) fixed the *code* in 4.2.  They should have known better . . . .
>
>Do not be too hard on them:  at least they did something about it.
>
>The solution now is probably to make 0=7=Sunday everywhere.

If anyone decides to write a brand new version of Unix, then
this should be put straight once and for all. It is now over 15
years since ISO decided that Monday is the first day of the
week. Hence, we can number the days 0-6 or 1-7, but Monday
should be first!


Leif Samuelsson

Ericsson Information Systems AB			..enea!erix!erisun!leif
Advanced Workstations Division
S-172 93  SUNDBYBERG				59 19 N / 17 57 E
SWEDEN



More information about the Comp.unix mailing list