JDMonthName() function in PHP

Arjun Thakur
Published on 15-Oct-2018 16:59:45
The JDMonthName() method returns a month name. Syntax jdmonthname(julian_day, mode) Parameters julian_day − A julian day number mode − Specifies which calendar to convert the Julian Day Count to, and what type of month names is to be returned− 0 - Gregorian abbreviated form ... Read More

GregorianToJD() function in PHP

Chandu yadav
Published on 15-Oct-2018 16:58:18
The GregorianToJD() function converts a Gregorian date to a Julian day count. It returns a Julian day number. Note − The valid range for the Gregorian calendar is from November 25, 4714 B.C. to at least December 31, 9999 A.D. Syntax GregorianToJD(month, date, year) Parameters month − ... Read More

easter_days() function in PHP

George John
Published on 15-Oct-2018 16:56:24
The eastern_days() function returns the number of days after March 21, on which Easter falls for a specified year. Syntax eastern_days(year, method) Parameters year − An year between 1970 and 2037. The default is the current year, local time method − Calculate easter dates based on other ... Read More

cal_to_jd() function in PHP

Ankith Reddy
Published on 15-Oct-2018 16:54:44
The cal_to_jd() function converts a date to Julian day count. It returns a Julian day number. Syntax cal_to_jd(calendar, month, day, year) Parameters calendar − The calendar to convert from. Possible values − CAL_GREGORIAN CAL_JULIAN CAL_JEWISH CAL_FRENCH month − Set the month as a ... Read More

cal_days_in_month() function in PHP

Arjun Thakur
Published on 15-Oct-2018 16:51:09
The cal_days_in_month() function returns the number of days in a month for a specified year and calendar. Syntax cal_days_in_month(calendar, month, year); Parameters calendar − The calendar to be used. month − The month to be specified. year − The year to be specified. Return The cal_days_in_month() ... Read More

is_subclass_of () function in PHP

Samual Sam
Published on 15-Oct-2018 16:36:27
The is_subclass_of() function checks if the object has this class as one of its parents. Syntax is_subclass_of(object, class, string) Parameters object − The tested object class − The name of class string − If set to false, the string class name as object is not allowed. ... Read More

interface_exists() function in PHP

karthikeya Boyini
Published on 15-Oct-2018 16:35:13
The interface_exists() function checks if the interface has been defined. It returns TRUE if the interface given by name_of_interface has been defined, else FALSE is returned. Syntax interface_exists(name_of_interface, autoload) Parameters name_of_interface − The interface name. autoload − To call __autoload or not by default Return The ... Read More

get_object_vars() function in PHP

Samual Sam
Published on 15-Oct-2018 16:33:53
The get_object_var() function gets the properties of the given object. It returns an associative array of defined object properties for the specified object. Syntax get_object_vars(object) Parameters object − An object instance. Return The get_object_var() function returns an associative array of defined object properties for the ... Read More

get_declared_classes() function in PHP

karthikeya Boyini
Published on 15-Oct-2018 16:31:34
The get_declared_classes returns an array with the name of the defined classes. Syntax get_declared_classes (void) Parameters void − No parameter is needed. Return The get_declared_classes() function returns an array of the names of the declared classes in the current script. The following is an example − ... Read More

get_class_vars() function in PHP

Samual Sam
Published on 15-Oct-2018 16:29:58
The get_class_var() function get the default properties of the class. It returns an associative array of declared properties visible from the current scope, with their default value. Syntax get_class_vars(name_of_class) Parameters name_of_class − The class name Return The get_class_vars() function returns an associative array of declared properties ... Read More
Advertisements