gregoriantojd

(PHP 4, PHP 5, PHP 7) Converts a Gregorian date to Julian Day Count int gregoriantojd ( int $month, int $day, int $year ) Valid Range for Gregorian Calendar 4714 B.C. to 9999 A.D. Although this function can handle dates all the way back to 4714 B.C., such use may not be meaningful. The Gregorian calendar was not instituted until October 15, 1582 (or October 5, 1582 in the Julian calendar). Some countries did not accept it u

jddayofweek

(PHP 4, PHP 5, PHP 7) Returns the day of the week mixed jddayofweek ( int $julianday [, int $mode = CAL_DOW_DAYNO ] ) Returns the day of the week. Can return a string or an integer depending on the mode. Parameters: julianday A julian day number as integer mode Calendar week modes Mode Meaning 0 (Default) Return the day number as an in

frenchtojd

(PHP 4, PHP 5, PHP 7) Converts a date from the French Republican Calendar to a Julian Day Count int frenchtojd ( int $month, int $day, int $year ) Converts a date from the French Republican Calendar to a Julian Day Count. These routines only convert dates in years 1 through 14 (Gregorian dates 22 September 1792 through 22 September 1806). This more than covers the period when the calendar was in use. Param

jdtogregorian

(PHP 4, PHP 5, PHP 7) Converts Julian Day Count to Gregorian date string jdtogregorian ( int $julianday ) Converts Julian Day Count to a string containing the Gregorian date in the format of "month/day/year". Parameters: julianday A julian day number as integer Returns: The gregorian date as a string in the form "month/day/year"

jdmonthname

(PHP 4, PHP 5, PHP 7) Returns a month name string jdmonthname ( int $julianday, int $mode ) Returns a string containing a month name. mode tells this function which calendar to convert the Julian Day Count to, and what type of month names are to be returned. Calendar modes Mode Meaning Values 0 Gregorian - abbreviated Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec 1 Gregorian January, February, March, April, May

cal_to_jd

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Converts from a supported calendar to Julian Day Count int cal_to_jd ( int $calendar, int $month, int $day, int $year ) cal_to_jd() calculates the Julian day count for a date in the specified calendar. Supported calendars are CAL_GREGORIAN, CAL_JULIAN, CAL_JEWISH and CAL_FRENCH. Parameters: calendar Calendar to convert from, one of CAL_GR

cal_days_in_month

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Return the number of days in a month for a given year and calendar int cal_days_in_month ( int $calendar, int $month, int $year ) This function will return the number of days in the month of year for the specified calendar. Parameters: calendar Calendar to use for calculation month Month in the selected

easter_days

(PHP 4, PHP 5, PHP 7) Get number of days after March 21 on which Easter falls for a given year int easter_days ([ int $year = date("Y") [, int $method = CAL_EASTER_DEFAULT ]] ) Returns the number of days after March 21 on which Easter falls for a given year. If no year is specified, the current year is assumed. This function can be used instead of easter_date() to calculate Easter for years which fall outside the range o

cal_from_jd

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Converts from Julian Day Count to a supported calendar array cal_from_jd ( int $jd, int $calendar ) cal_from_jd() converts the Julian day given in jd into a date of the specified calendar. Supported calendar values are CAL_GREGORIAN, CAL_JULIAN, CAL_JEWISH and CAL_FRENCH. Parameters: jd Julian day as integer calenda

easter_date

(PHP 4, PHP 5, PHP 7) Get Unix timestamp for midnight on Easter of a given year int easter_date ([ int $year = date("Y") ] ) Returns the Unix timestamp corresponding to midnight on Easter of the given year. The date of Easter Day was defined by the Council of Nicaea in AD325 as the Sunday after the first full moon which falls on or after the Spring Equinox. The Equinox is assumed to always fall on 21st March, so the calcu