Re: Date Support
| From: | Jason Garber | Date: | Tue, 03 Aug 2004 03:08:17 +0000 |
| Subject: | Re: Date Support | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11846@lists.php.net to get a copy of this message | ||
Hello George,
Because they both operate on an integer timestamp...
two things:
SELECT CURDATE() + INTERVAL 7 MONTH;
echo strtotime("7/12/1900");
Timestamps are fine for things that are happening within a very limited
range of dates. How do you add a given number of months to a date?
how do you get the day of week for a given date? These are the
types of functions that I am thinking of.
--
Best regards,
Jason mailto:jason@ionzoft.com
Monday, August 2, 2004, 10:40:45 PM, you wrote:
GS> On Aug 2, 2004, at 10:36 PM, Jason Garber wrote:
>> Hello internals,
>>
>> Not to take away from the wonderful and lively "GOTO" discussion,
>> but... I've got a couple simple questions.
GS> What's insufficient in strtotime() and strftime()?
GS> George