Hello,
I have a way to convert julian into Gregorian date. But i really dont understand that complex sort, if any body can be kind enough to explain me the conversion of julian to gregorian date,
What is the way you have? It should not be complex.
Calculating a gregorian date from julian is a matter of determining the total days of the previous months (defined by an array of the last julian day of each month - accounting for leap year), subtracting this total from the julian days, and using the remainder as the gregorian day (i.e. if the julian date is 2009100, 2009 is the year, 04 is the month and 10 is the day. The "last day" for Jan is 31, Feb is 59, Mar is 90, etc. so 100 minus 90 is 10).