Re: note 8338 added to Date and Time functions
| From: | Ron Chmara | Date: | Thu, 07 Sep 2000 04:08:30 +0000 |
| Subject: | Re: note 8338 added to Date and Time functions | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-4292@lists.php.net to get a copy of this message | ||
Mild copyright issue in errata notes:
Are adapted pieces of code from PHPbuilder acceptable? I know
we're nuking outright copyright violation (published by MCP/Sams,
etc.) But do we have legal OK from PHPbuilder (er... and weberdev,
etc. while we're on this issue?) It's not as clear when dealing
with other open-source-y sites, amusingly enough....
teddk@box100.com wrote:
>
> Below is a function I adapted from an excellent article
> by Allan Kent on PHP date/time. The full article can be found at www.phpbuilder.com/columns/
>
> This function will add or subtract time from a given unix timestamp, based on an interval you
> select (i.e., month, day, seconds, etc).
>
> <?php
>
> /* Variables for use in the "$interval" argument
>
Snip_>
From:
http://www.php.net/manual/ref.datetime.php
-Bop
--
Brought to you from iBop the iMac, a MacOS, Win95, Win98, LinuxPPC machine,
which is currently in MacOS land. Your bopping may vary.