Converting a Date Value to a Gregorian Value

The josDskDateToGregorian call, shown in the following example, converts a Date primitive type value to Gregorian calendar format.

void josDskDateToGregorian(const DskDate, 
                           DayType &day, 
                           MonthType &month, 
                           YearType &year);

The parameters for this call are listed in the following table.

Parameter Description
DskDate Julian date to be converted to the Gregorian calendar format
DayType &day Day number for the Gregorian date
MonthType &month Month number for the Gregorian date
YearType &year Year number for the Gregorian date