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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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