Definition :
The cal_to_jd() function is used to converts a date in a specified calendar to Julian Day Count.
cal_to_jd(calendar,month,day,year);
Parameter | Description |
---|---|
calendar | Required. Specifies the calendar to convert from. Must be one of the following values:
|
month | Required. Specifies the month as a number |
day | Required. Specifies the day as a number |
year | Required. Specifies the year as a number |
following example below Convert 20th of June, 2007 (Gregorian calendar) to Julian Day Count
Output : 2454272