Tracy,
By looking at the data he gave its using the definition of # of days since the beginning of the year. That's one way of defining julian dates.
>I'm alittle confused. Doesn't your function convert the value 2003001 to the number of days in the year 2003? However, a Julian Day Number is a count of days that have elapsed since Greenwich mean time at noon on 1 January 4713 B.C. The Julian Date is the Julian day number followed by the fraction of the day elapsed since the preceding noon. The julian date for today after 12:00 noon would be 2452667, not 2003027. Did I miss something? I have not seen any VFP code to convert a julian date back to a gregorian date only the VFP function sys(11) that converts a gregorian date to a julian date. Perhaps he is not really using valid julian dates?