[m-dev.] diff: w3 y2k bug fix
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Dec 6 14:58:02 AEDT 1999
On 06-Dec-1999, Peter Ross <petdr at cs.mu.OZ.AU> wrote:
> Our first y2k bug fix?
Nope, that would be our second.
Where can I find documentation on php3
so that I can figure out whether this code
is correct or not?
> +++ list.inc 1999/12/06 02:44:05
> + $year_2digits=date("y", mktime(0,0,0,$mo,1,$yr));
If that is POSIX mktime(), then that looks wrong to me...
shouldn't that be `$yr - 1900' rather than `$yr'?
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list