On Tue, March 22, 2005 2:56 pm, Dan Rossi said:
> Hi there we have discovered a bug when trying to format a date which is
> before 1970 on one of our servers running PHP 4.3.1 , it will convert
> the 1966 year to 1970, is there any possible workaround for this ?

Errrr.

Unix epoch dates start with the integer 0 representing midnight 1/1/1970.

Rumor has it that the authors of this standard are big Disco fans, but
they have only replied with "No comment" :-)

I dunno what you expected to get from 1966 in an epoch date, but it's not
kosher input, so there ya go.

The only work-around for getting pre-1970 dates is not using Unix epoch to
represent your dates.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to