[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Y2K bug with perl



When used in a scalar format localtime returns exactly what you show below. But when used to return an array, it returns the number of years since 1900. There's a good explanation in one of the links Dan mentions above, but I can't seem to get into the deja archives right now <frown>.

Jeff

At 06:18 AM 1/1/00  Robert Davis wrote:
Ahoy

Yabbut ---

$test = localtime();
print $test;

prints "Sat Jan  1 09:17:14 2000"

no prob

Aloha
Davis