Date: Tue, 28 Nov 1995 21:43:31 -0800 From: "Jordan K. Hubbard" <jkh> To: hackers Subject: Bug in stable/-current perl? Message-ID: <199511290543.VAA13120@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkh@freefall-> date Tue Nov 28 21:42:48 PST 1995 jkh@freefall-> perl -e 'printf("%02.2d\n", (localtime())[3]);' 28 jkh@freefall-> perl -e 'printf("%02.2d\n", (localtime())[4]);' 10 jkh@freefall-> perl -e 'printf("%02.2d\n", (localtime())[5]);' 95 10? Am I misunderstanding something fundamental about perl's localtime() call, or should this be an "11"? Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511290543.VAA13120>