cal_days_in_month PHP 4.1.0

int cal_days_in_month(int calendar, int month, int year)

 

Returns the number of days in a month for a given year and calendar.

cal_from_jd PHP 4.1.0

array cal_from_jd(int jd, int calendar)

 

Converts from Julian day count to a supported calendar and returns extended information.

cal_info PHP 4.1.0

array cal_info(int calendar)

 

Returns information about a particular calendar.

cal_to_jd PHP 4.1.0

int cal_to_jd(int calendar, int month, int day, int year)

 

Converts from a supported calendar to Julian day count.

easter_date PHP 3.0.9

int easter_date([int year])

 

Returns the timestamp of midnight on Easter of a given year (defaults to current year).

easter_days PHP 3.0.9

int easter_days([int year, [int method]])

 

Returns the number of days after March 21 that Easter falls on for a given year (defaults to current year).

frenchtojd PHP 3.0

int frenchtojd(int month, int day, int year)

 

Converts a French Republic calendar date to Julian day count.

gregoriantojd PHP 3.0

int gregoriantojd(int month, int day, int year)

 

Converts a Gregorian calendar date to Julian day count.

jddayofweek PHP 3.0

mixed jddayofweek(int juliandaycount[, int mode])

 

Returns name or number of day of week from Julian day count.

jdmonthname PHP 3.0

string jdmonthname(int juliandaycount, int mode)

 

Returns name of month for Julian day count.

jdtofrench PHP 3.0

string jdtofrench(int juliandaycount)

 

Converts a Julian day count to a French Republic calendar date.

jdtogregorian PHP 3.0

string jdtogregorian(int juliandaycount)

 

Converts a Julian day count to a Gregorian calendar date.

jdtojewish PHP 3.0

string jdtojewish(int juliandaycount)

 

Converts a Julian day count to a Jewish calendar date.

jdtojulian PHP 3.0

string jdtojulian(int juliandaycount)

 

Converts a Julian day count to a Julian calendar date.

jdtounix PHP 4.0

int jdtounix(int jday)

 

Convert Julian day count to a Unix timestamp.

jewishtojd PHP 3.0

int jewishtojd(int month, int day, int year)

 

Converts a Jewish calendar date to a Julian day count.

juliantojd PHP 3.0

int juliantojd(int month, int day, int year)

 

Converts a Julian calendar date to a Julian day count.

unixtojd PHP 4.0

int unixtojd([int timestamp])

 

Converts Unix timestamp to Julian day count.