Re: simple question...
| From: | Ker Ruben Ramos | Date: | Fri, 21 Sep 2001 05:16:01 +0000 |
| Subject: | Re: simple question... | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67992@lists.php.net to get a copy of this message | ||
again.. one more thing.... How do I know how many days date differ? let's
say '2001-09-01' and '2001-09-08'.
Just looking for the fastest way of code to run.
----- Original Message -----
From: "* R&zE:" <renze@datalink.nl>
To: "Ker Ruben Ramos" <kreaper@iligan.mine.nu>; <php-general@lists.php.net>
Sent: Thursday, September 20, 2001 6:46 AM
Subject: Re: [PHP] simple question...
> > You should date() do the work here. So just take the month and then
> > +1. Date() will take care the result is a valid date.
> > Below is some example...
>
> Well... I meant: let mktime() do the work... not date(). Date() only
> shows the result of mktime() in a proper format. Mktime() makes sure
> it's a valid time(stamp) :)
>
> --
>
> * R&zE:
>
>
> -- »»»»»»»»»»»»»»»»»»»»»»»»
> -- Renze Munnik
> -- DataLink BV
> --
> -- E: renze@datalink.nl
> -- W: +31 23 5326162
> -- F: +31 23 5322144
> -- M: +31 6 21811143
> --
> -- Stationsplein 82
> -- 2011 LM HAARLEM
> -- Netherlands
> --
> -- http://www.datalink.nl
> -- ««««««««««««««««««««««««
>
> --
> 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
>
>