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) - opensolaris
cal(1) - suse
jdmonthname(3) - php
cal_to_jd(3) - php
cal_info(3) - php
Similar Topics in the Unix Linux Community
how can i find the third friday of each month?
want to get last year and month from the file
Awk convert from day of year to date
Extracting Dates
Adding one day to a date