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

2001-11-13 Thread Oosten, Sjoerd van

$yesterday = mktime(0,0,0,date("m"),date("d") -1,date("Y"));


Sjoerd van Oosten 
Digitaal vormgever [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
Verzonden: dinsdag 13 november 2001 10:36
Aan: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-11-13 Thread Harry Lau

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]