c_julgre - Convert a Julian date into a Gregorian date.

SYNTAX

FUNCTION c_julgre(year, jdate, month, day)

     long	*year;
     long	*jdate;
     long	*month;
     long	*day; 

PARAMETERS

year (long *, input)

The year.

jdate (long *, input)

The Julian date in the given year. The Julian date is the numerical position of the date in the year, starting with January 1 at 1 and ending with December 31 at 365 (366 in a leap year).

month (long *, output)

The number of the month, where January = 1 and December = 12.

day (long *, output)

The day of the month.

DESCRIPTION

The Julian date of the given year is converted to a Gregorian date (month and day).

c_julgre() is located in the file julian.c.

RETURN VALUE

c_julgre() has no return value.