On Thursday 22 August 2002 02:23, Manoj Japher wrote:
> hi,
>   Is there any way I can get previous day's date, like we get
> current
> date by using getdate() or date() function. I mean is there some
> in-built function in PHP which can subtract date to give me
> yesterday's date.
>   I am currently calculating it using some code, which I have
> written
> and it is very tirng and recursive to check for each possible
> case.
>   If someone has solved this before pls let me know.


Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

The person who makes no mistakes does not usually make anything.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to