Datepear.php.netGeneric date/time handling class for PEARGeneric classes for representation and manipulation of
dates, times and time zones without the need of timestamps,
which is a huge limitation for php programs. Includes time zone data,
time zone conversions and many date/time conversions.
It does not rely on 32-bit system date stamps, so
you can display calendars and compare dates that date
pre 1970 and post 2038. This package also provides a class
to convert date strings between Gregorian and Human calendar formats.Baba Buehlerbabababa@babaz.comnoPierre-Alain Joyepajoyepajoye@php.netnoMonte Ohrtmohrtmohrt@php.netnoFirman Wandayandifirmanfirman@php.netyesAlan Knowlesalan_kalan@akbkhome.comyesLeonardo Dutrascarscar@php.netyes2006-11-221.4.71.4stablestableBSD License* Fix bug #8912: putenv() causes crashes in DateTimeZone::inDaylightTime() under windows
* Fix bug #9409: Date_Calc, fatal error using a non-array variable as an array
* Fix bug #9414: Date::addSeconds() fails to work properly with negative numbers
* Many cosmetics update
* Moved bug test files to tests/bugs/
* Removed unused files4.31.4.01.4.71.4stablestable2006-11-22BSD License* Fix bug #8912: putenv() causes crashes in DateTimeZone::inDaylightTime() under windows
* Fix bug #9409: Date_Calc, fatal error using a non-array variable as an array
* Fix bug #9414: Date::addSeconds() fails to work properly with negative numbers
* Many cosmetics update
* Moved bug test files to tests/bugs/
* Removed unused files2005-11-151.4.61.4.6stablestable- Change license from PHP License to new BSD License
- Bug #5715 fypo, missing s in $GLOBALS1.4.51.4.5stablestable2005-10-12PHP LicenseSame code base as 1.4.4-beta
See 1.4.4 changelog for details1.4.41.4.4betastable2004-05-16PHP License- Establish the DATE_CALC_FORMAT constant
and use it as the default value for each
of the Date_Calc class' method's $format
parameter.
- Add beginOfMonthBySpan() and
endOfMonthBySpan() methods to Date_Calc.
- Use integers for the parameters in
Date_Calc instead of strings.
- Tweak Date_Calc::NWeekdayOfMonth() so it
can calculate the 'last' given weekday of
a month.
- Fix Bug 1640. Make sure all longname's are also
keys in $GLOBALS['_DATE_TIMEZONE_DATA']. Makes
Date_TimeZone work under more operating systems.
- #5420, missing CEST
- #3846, getYear, getMonth returns integer
- #2652, add %h and %i support (rob at wildlime dot com
- #5494, force dot as decimal separator
- #3022, allow to specify the weekday abbrevation length used in ::format()
- #4878, %s padding fix when < 10 ( aashley at optimiser dot com)
- #3059, use GLOBALS in date_span1.4.31.4.3stablestable2004-05-16PHP License- Fix #1250, wrong name for Bangladesh TZ
- Fix #1390, add XML Schema datetime support
(aashley at optimiser dot com)
See http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#dateTime1.4.31.4.3stablestable2004-05-16PHP License- Fix #1250, wrong name for Bangladesh TZ
- Fix #1390, add XML Schema datetime support
(aashley at optimiser dot com)
See http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#dateTime1.4.21.4.2stablestable2004-03-14PHP License- Fix #976 TimeZone default bad global usage
only _DATE_TIMEZONE_DEFAULT is used now
- Fix #683, add optional length argumet to getDayName()
- Fix PHP5 problems with get_class functions1.4.11.4.1stablestable2005-10-02PHP License- Fix #674 endOfWeek() beginOfWeek()
- Fix #727, weeksInMonth (wrong result with some dates)
- Fix #674 (and old system #22549), check arguments in Date_Span1.41.4stablestable2003-12-21PHP License- improvements in input date parsing
- add Date methods addSpan() and subtractSpan()
- added two more ISO8601 date/time output formats DATE_FORMAT_ISO_BASIC and DATE_FORMAT_ISO_EXTENDED
- improve Date_Calc isLeapYear() and daysInMonth() for year 1582
- add gregorianToISO() method to Date_Calc
- add dateSeason() method to Date_Calc
- add Date_Span class
- bugfix in Date_Calc when century ends in 00, only define DATE_CALC_BEGIN_WEEKDAY if not already defined
- bugfix in beginOfNextWeek(), beginOfPreviousWeek() (thx to andreas dot kossmeier at bergfex dot at)
- bugfix in nextDayOfWeek and prevDayOfWeek (thx to koan at gmx dot at)
- bugfix for bug 62: getDate(DATE_FORMAT_UNIXTIME) off because of DST
- bugfix for bug 65: format(e) returns zero-padded day
- bugfix for bug 195: Suppress a notice in setDate()
- bugfix for bug 271: Date_Calc weeksInMonth() returns wrong number
- fix abstraction bug, Date constructor accepts now object that extends Date
- add tests to release package
- Fix notices and mins calc in to toUTCbyOffset()