Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11855 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58329 invoked by uid 1010); 3 Aug 2004 07:32:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58280 invoked from network); 3 Aug 2004 07:32:18 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 3 Aug 2004 07:32:18 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i737WIAK018888 for ; Tue, 3 Aug 2004 09:32:18 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i737WFYL018879; Tue, 3 Aug 2004 09:32:15 +0200 Date: Tue, 3 Aug 2004 09:32:15 +0200 (CEST) X-X-Sender: derick@localhost To: Jason Garber cc: internals@lists.php.net In-Reply-To: <1697824207.20040802223614@ionzoft.com> Message-ID: References: <1697824207.20040802223614@ionzoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl Subject: Re: [PHP-DEV] Date Support From: derick@php.net (Derick Rethans) On Mon, 2 Aug 2004, Jason Garber wrote: > Hello internals, > > Not to take away from the wonderful and lively "GOTO" discussion, > but... I've got a couple simple questions. > > 1. Is there a particular reason that PHP does not have a really good > set of functions for dealing with true date and time types (i.e. not > timestamps)? I'm about 60% done with this ;-) > 2. I think that good date and time handling in PHP would be a > large plus. MySQL provides, imho, a very effective set of tools for > handling dates. I think that this style of date handling, where the > standard format was YYYY-MM-DD HH:MM:SS would be an ideal way to go. > Comments? This is one format that I can parse... but the major format will be a "timestamp" of some sort. regards, Derick