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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php