Hi all again,
I found something interesting, apparently it is a bug in php...ANY IDEA HOW TO FIX THIS??????
look at the following posting i found :
ID: 1069
User Update by: tjones@northstar.k12.ak.us
Old-Status: Closed
Status: Open
Bug Type: Misbehaving function
Description: using leading zeros in mkdate gives incorrect timestamp
Big OOPS, should be mktime not mkdate!
./configure --with-apache=../apache_1.3.3 --with-mysql --with-ldap --with-imap -
-with-zlib --enable-sysvshm=yes --enable-sysvsem=yes --with-config-file-path
default php.ini file
<?
$futureDay = mktime(0,0,0,4,8,1999);
$futureDay1 = mktime(0,0,0,4,08,1999);
<LI>(<? echo date("l F dt\h Y", $futureDay); ?>,<? echo $futureDay ?>)
<LI>(<? echo date("l F dt\h Y", $futureDay1); ?> <? echo $futureDay1; ?>)
?>
result is
(Thursday April 08th 1999,923558400)
(Wednesday March 31th 1999 922870800)
Full Bug description available at: http://ca.php.net/bugs.php3?id=1069
ANY IDEA HOW TO FIX THIS??????