mktime on W2K?

From: Date: Sat, 16 Mar 2002 23:37:48 +0000
Subject: mktime on W2K?
Groups: php.general 
Request: Send a blank email to php-general+get-88785@lists.php.net to get a copy of this message
I use this on a Unix server to get yesterday's date if it's a Saturday: if ($day == '6') { $today1 = date("Y:m:d", mktime(0,0,0,$month,$day-1,$year)); } But on my Windows 2000 machine it thinks it's 1999:12:05. How can I do this on Windows? Thanks. Jeff Oien

« previous php.general (#88785) next »