cal_to_jd(3) php man page | unix.com

Man Page: cal_to_jd

Operating Environment: php

Section: 3

CAL_TO_JD(3)								 1							      CAL_TO_JD(3)

cal_to_jd - Converts from a supported calendar to Julian Day Count

SYNOPSIS
int cal_to_jd (int $calendar, int $month, int $day, int $year)
DESCRIPTION
cal_to_jd(3) 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
o $calendar - Calendar to convert from, one of CAL_GREGORIAN, CAL_JULIAN, CAL_JEWISH or CAL_FRENCH. o $month - The month as a number, the valid range depends on the $calendar o $day - The day as a number, the valid range depends on the $calendar o $year - The year as a number, the valid range depends on the $calendar
RETURN VALUES
A Julian Day number.
SEE ALSO
cal_from_jd(3), frenchtojd(3), gregoriantojd(3), jewishtojd(3), juliantojd(3), unixtojd(3). PHP Documentation Group CAL_TO_JD(3)
Related Man Pages
cal(1) - redhat
calendar(1) - bsd
cal(1) - centos
cal(1) - suse
cal_from_jd(3) - php
Similar Topics in the Unix Linux Community
Edit file contents
calendar in unix
Awk convert from day of year to date
How to get year part from file created date?
Adding one day to a date