Does the extension take into acount calendar changes like: $ cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa 1 2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Edin ----- Original Message ----- From: "Pierre-Alain Joye" <[EMAIL PROTECTED]> To: "phpdev" <[EMAIL PROTECTED]> Sent: Sunday, February 16, 2003 4:38 PM Subject: [PHP-DEV] new Date extenstion > 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 > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php