RE: [PHP] Any easy way of finding "yesterday"...?

From: Date: Tue, 13 Nov 2001 09:30:17 +0000
Subject: RE: [PHP] Any easy way of finding "yesterday"...?
Groups: php.general 
Request: Send a blank email to php-general+get-74397@lists.php.net to get a copy of this message
$yesterday = mktime(0,0,0,date("m"),date("d") -1,date("Y")); ________________________________________ Sjoerd van Oosten Digitaal vormgever svoosten@esites.nl Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 _______________________________________ -----Oorspronkelijk bericht----- Van: Harry Lau [mailto:l_harry@hotmail.com] Verzonden: dinsdag 13 november 2001 10:36 Aan: php-general@lists.php.net Onderwerp: [PHP] Any easy way of finding "yesterday"...? It is easy to use the function getDate() to obtain the date of today. But instead of writing plenty of conditions, is there any easy way to get the date of yesterday? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#74397) next »