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:[EMAIL PROTECTED]:/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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > > 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > >> 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 > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php