Re: the date90 fucntions gone haywire!

From: Date: Fri, 01 Mar 2002 11:02:06 +0000
Subject: Re: the date90 fucntions gone haywire!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-86759@lists.php.net to get a copy of this message
the time stamp i'm giving its perfect! i echoed some already and there's no problem. i'm using the code: $time = date("d-m-y", $timestamp); the £timestamp i'm feeding its is perfect, with the year first, then month, date, etc... "Dl Neil" <PHPml@DandE.HomeChoice.co.uk> wrote in message news:077b01c1c0aa$7531dd20$c200a8c0@jrbrown... > Hi Georgie, > > > The date() function is returning the 19th of Januray 2038 as *ALL* > dates no > > matter what timestamp i feed it! whats goin on?? > > > Result outside the UNIX epoch. > Sounds like DATE()'s being fed some crazy data. > What is the server's ToD clock showing? > Make sure you debugECHO the source data before you feed it to DATE(). > Post some code and results from the browser and we may be able to point > fingers! > > Regards, > =dn >

« previous php.general (#86759) next »