Re: new Date extenstion

From: Date: Sun, 16 Feb 2003 22:04:50 +0000
Subject: Re: new Date extenstion
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-94283@lists.php.net to get a copy of this message
Pierre, u catching me a moment before i'm commiting date_sunrise(), date_sunset() functions, as agreed on the list. do we have a naming conflict here? moshe. -- "Pierre-Alain Joye" <paj@pearfr.org> wrote in message news:20030216163843.2afa9afd.paj@pearfr.org... > Hello, > > I made a new extension to work with dates, you may find infos&sources > here: > Docs: http://www.pearfr.org/php_date/docs/ > Sources: http://www.pearfr.org/php_date/sources/ > > This is a alpha release, a first shot. I still have to create a full set > of tests script. > > The idea is to provide a fullfeatured date/time standart extension with > php5. > > A non documented function is get_isoweek() which returns the ISO week > number. But the weeknumber is a thing we have to discuss, because there > are tons of way to represent it. Actually the week #1 is the week where > fit 4th of january. > > For all date_new_xxx functions, an optionnal arg can be set to define > the 1st day week, default is monday. > > Todo: > - strftime() > - add/clean warnings (overflow, invalid dates,...) > - add times functions > This part is real pain if we want to DST times, localtime and so on. > > - add time_span datatype, which represents a time interval in days, > hours, seconds, and related functions > > - add a true crossplatform localisations, which does not depend of the > target platform. That will make our life easier to provide date > localisations in any cases. > > Usefull but not really needed: > - add additionnals functions for specials days and official hollydays > > any comments, ideas, feedback ? > > pierre

« previous php.dev (#94283) next »