RE: [PHP-WIN] Count days between old date() and now()
| From: | Per Lundberg | Date: | Wed, 23 Apr 2003 15:07:02 +0000 |
| Subject: | RE: [PHP-WIN] Count days between old date() and now() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19575@lists.php.net to get a copy of this message | ||
On Wed, 2003-04-23 at 15:25, Svensson, B.A.T. (HKG) wrote:
> you can also use:
> http://www.php.net/manual/en/function.microtime.php
>
> and divide the difference by 3600*24 to get number of days.
Sorry to be a pain, but how about leap years? :-)
--
Best regards,
Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.nobolt.com
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc