cal_to_jd
(PHP 4 >= 4.1.0, PHP 5)
cal_to_jd — Converts from a supported calendar to Julian Day Count
Beschreibung
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.
Parameter-Liste
-
calendar -
Calendar to convert from, one of
CAL_GREGORIAN,CAL_JULIAN,CAL_JEWISHorCAL_FRENCH. -
month -
The month as a number, the valid range depends on the
calendar -
day -
The day as a number, the valid range depends on the
calendar -
year -
The year as a number, the valid range depends on the
calendar
Rückgabewerte
A Julian Day number.
Siehe auch
- cal_from_jd() - Converts from Julian Day Count to a supported calendar
- frenchtojd() - Konvertiert ein Datum der Französischen Revolution zu einem Julianischen Datum
- gregoriantojd() - Konvertierung vom Gregorianischen Kalender zum Julianischen Datum
- jewishtojd() - Konvertiert vom Jüdischen Kalender zum Julianischen Datum
- juliantojd() - Konvertierung vom Julianischen Kalender zum Julianischen Datum
- unixtojd() - Konvertiert Unix-Timestamp in Julianisches Datum
There are no user contributed notes for this page.
