Re: "11/31/99" to date
Re: "11/31/99" to date
- Subject: Re: "11/31/99" to date
- From: John W Baxter <email@hidden>
- Date: Wed, 20 Dec 2000 19:23:40 -0800
At 5:15 +0800 12/21/00, Emmanuel wrote:
>
[Quoting another]
>
>How would you set
>
>
>
>"11/31/99" as date ? ? ?
>
>
>
>Currently I get an error.
>
>
November has 30 days, hasn't it.
In 1999, yes. ;-)
So we have two problems: an invalid way of asking for an invalid date.
The valid way to ask is
date "11/31/99"
which rightly complains about the 31 (really it just complains about an
invalid date).
date "11/30/99"
is quite happy...producing a 64-bit number which is then decompiled as
date "Tuesday, November 30, 1999 0:00:00"
(on my machine...probably not on Emmanuel's or in fact most others--since I
use English but with the only sensible (ie, 24-hour) clock ;-) ).
--John
--
John Baxter, Port Ludlow, WA (USA).
middle Wednesday of {Sunday, Monday, Tuesday, Wednesday}
--> Sunday