Publisher review:DateObj - date arithmetic class can be set by timestamp or year,month&day. DateObj - date arithmetic class can be set by timestamp or year,month&day.
Methods include:
- set methods as described above
- get methods for year, month, day of month
- equals( ) - checks if the the other nstance has the same date
- getNextDay() - retuens a DateObj instance with the date of the following day
- getNextMonth(), getNextYear() - returns a DateObj instance with the date a month after this one or a year after this one
- diff( [, ] ) - returns the difference between the timestamps of this instance and the other, measured in the given unit.
- toString( [ ] ) - returns a string represting the date it has. uses the date() function to format this string.
DateObj - date arithmetic class 1.1.1.2 is a PHP script for Snippets scripts design by yyogev.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
DateObj - date arithmetic class can be set by timestamp or year,month&day.
Operating system:Windows / Linux / Mac OS / BSD / Solaris