Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11850 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18083 invoked by uid 1010); 3 Aug 2004 03:30:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18058 invoked from network); 3 Aug 2004 03:30:11 -0000 Received: from unknown (HELO mproxy.gmail.com) (216.239.56.252) by pb1.pair.com with SMTP; 3 Aug 2004 03:30:11 -0000 Received: by mproxy.gmail.com with SMTP id w67so13608cwb for ; Mon, 02 Aug 2004 20:30:11 -0700 (PDT) Received: by 10.11.117.30 with SMTP id p30mr2831cwc; Mon, 02 Aug 2004 20:30:11 -0700 (PDT) Message-ID: <4e89b426040802203067c81157@mail.gmail.com> Date: Tue, 3 Aug 2004 04:30:11 +0100 To: Jason Garber Cc: internals@lists.php.net In-Reply-To: <487513560.20040802230749@ionzoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1697824207.20040802223614@ionzoft.com> <4e89b4260408021941d7f2c29@mail.gmail.com> <487513560.20040802230749@ionzoft.com> Subject: Re: [PHP-DEV] Date Support From: kingwez@gmail.com (Wez Furlong) Urgh, blame PEAR for that ;-) There is a PECL date extension that you can obtain from our CVS (see http://www.php.net/anoncvs.php): cvs -d :pserver:cvsread@cvs.php.net:/repository co pecl/date cd pecl/date phpize ./configure make install [ add date.so to php.ini ] --Wez. On Mon, 2 Aug 2004 23:07:49 -0400, Jason Garber wrote: > Hello Wez, > > I must be missing something... I went to the link and couldn't find > any documentation. I downloaded it and all the .tgz contained were a > couple of .php scripts? > > -- > Best regards, > Jason mailto:jason@ionzoft.com > > Monday, August 2, 2004, 10:41:09 PM, you wrote: > > WF> http://pecl.php.net/package-info.php?package=Date > > WF> It's not in the core because it is still relatively young. > WF> Maybe in a future release... > > WF> --Wez. > > > > WF> On Mon, 2 Aug 2004 22:36:14 -0400, 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)? > >> > >> 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? > >> > >> 3. If there is no good reason for not adding this set of functions > >> to the PHP core, what would be the method of designing an acceptable > >> set of functions? > >> > >> PHP is a feature packed language, but it's strange that this does not > >> exist in the core. Thanks for your time. > >> > >> -- > >> Best regards, > >> Jason Garber mailto:jason@ionzoft.com > >> IonZoft, Inc. > >> > >> -- > >> PHP Internals - PHP Runtime Development Mailing List > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >