Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11846 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40589 invoked by uid 1010); 3 Aug 2004 03:08:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40540 invoked from network); 3 Aug 2004 03:08:06 -0000 Received: from unknown (HELO theta.altoona-pa.com) (209.161.72.28) by pb1.pair.com with SMTP; 3 Aug 2004 03:08:06 -0000 Received: from IONZOFT-JEG (dpvc-207-68-114-163.alt.east.verizon.net [207.68.114.163]) by theta.altoona-pa.com (Postfix) with ESMTP id 72576142A9; Mon, 2 Aug 2004 23:08:05 -0400 (EDT) Date: Mon, 2 Aug 2004 23:08:17 -0400 X-Mailer: The Bat! (v2.11.02) Business Reply-To: Jason Garber Organization: IonZoft, Inc. X-Priority: 3 (Normal) Message-ID: <1244657231.20040802230817@ionzoft.com> To: George Schlossnagle Cc: internals@lists.php.net In-Reply-To: <84F2B77E-E4F6-11D8-8E57-000D93359332@omniti.com> References: <1697824207.20040802223614@ionzoft.com> <84F2B77E-E4F6-11D8-8E57-000D93359332@omniti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Date Support From: jason@ionzoft.com (Jason Garber) 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