Re: new Date extenstion
| From: | Vlad Krupin | Date: | Sun, 16 Feb 2003 19:58:52 +0000 |
| Subject: | Re: new Date extenstion | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94278@lists.php.net to get a copy of this message | ||
Looks interesting. A lot of functions though. Would it make sense to at least remove all date_sub_* () functions in favor of using the date_add_* () counterparts with negative values? E.g. date_add_days(-10) does the same as date_sub_days(10) ? One of the easy ways to reduce usability of an extension is to include a lot of functions that do basic (and often overlapping) functions.
Pierre-Alain Joye wrote:
hello, As a side note, the date range starts on 1/1/1 and ends on 31/12/65535. Y65K bug, anyone? :)Vlad