Re: Counting back 90 days...
| From: | Paul Chvostek | Date: | Mon, 05 Jan 2004 19:38:33 +0000 |
| Subject: | Re: Counting back 90 days... | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173774@lists.php.net to get a copy of this message | ||
On Mon, Jan 05, 2004 at 09:51:33AM -0500, Eric Wood wrote:
>
> In Business Basic I use Julian Dates:
> http://www.basis-documentation.com/commands/jul_function.htm.
>
> This lets me easily calculate days between dates just by substracting
> integers. Why has PHP made dates more difficult?
Unix timestamps have been around since unix began, and strtotime
supports arbitrary human-readable formats. PHP supports both of these.
How does PHP make dates more difficult?
--
Paul Chvostek <paul@it.ca>
it.canada http://www.it.ca/
Free PHP web hosting! http://www.it.ca/web/