DATELIB Function
Convert a date to a Julian date.
DateToJulian(YEAR_IV, MONTH_IV, DAY_IV)
YEAR_IV
An integer denoting a year.
MONTH_IV
An integer denoting a month, where January = 1.
DAY_IV
An integer denoting a day within MONTH_IV.
Description
Use this function to convert a specific date on the Gregorian calendar to a Julian date. A Julian date is the number of days that have elapsed between the specified date and Greenwich mean noon of January 1, 4713 B.C. The function returns an integer that is the Julian date.
This function returns 0 if YEAR_IV, MONTH_IV, or DAY_IV are out of range.
See Also
JulianToDate DATELIB Function