The calendar functions are useful when working with different calendar formats. The standard it is based on is the Julian day count (Julian day count is a count of days starting from January 1, 4713 B.C.). Note: Julian day count is not the same as the Julian calendar
Note: To convert between calendar formats, you must first convert to Julian day count, then to the calendar format.
The windows version of PHP has built-in support for the calendar extension. So, the calendar functions will work automatically.
However, if you are running the Linux version of PHP, you will have to compile PHP with --enable-calendar to get the calendar functions to work.
PHP: indicates the earliest version of PHP that supports the function.
PHP: indicates the earliest version of PHP that supports the constant.
Your Query was successfully sent!