wrong timestamp?

From: Date: Fri, 06 Sep 2002 13:57:58 +0000
Subject: wrong timestamp?
Groups: php.general 
Request: Send a blank email to php-general+get-115468@lists.php.net to get a copy of this message
Hi there, this is a add on a post I did a few hours ago regarding timestamp. I was able to locate the error, but not to fix it. The code : $timestamp = date('YmdGis',(mktime (0,0,0,date("m") ,date("d")-1,date("Y") ) ) ); produces a string like this: 2002090500000 There is one 0 missing. Because of this my querry is not working, How come this timestamp is wrong? Thanx for any help, Andy

« previous php.general (#115468) next »