Re: [PHP] the date90 fucntions gone haywire!

2002-03-01 Thread Georgie Casey

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 [EMAIL PROTECTED] wrote in message
077b01c1c0aa$7531dd20$c200a8c0@jrbrown..">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




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




[PHP] the date90 fucntions gone haywire!

2002-02-28 Thread Georgie Casey

The date() function is returning the 19th of Januray 2038 as *ALL* dates no
matter what timestamp i feed it! whats goin on??

--
Regards,
Georgie Casey
[EMAIL PROTECTED]

***
http://www.filmfind.tv
Ireland's Online Film Production Directory
***



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




Re: [PHP] the date90 fucntions gone haywire!

2002-02-28 Thread DL Neil

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


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