Here's an PHP example to go from Julian date to Gregorian date:
$jd = gregoriantojd(10,3,1975);
echo($jd . "<br />");
$gregorian = jdtogregorian($jd);
echo($gregorian);
Output:
2442689
10/3/1975
This works if you have the full Julian date, but what if you only have a Julian day like '254' and the year '2012'? How do you get to a Gregorian date with just the Julian day and Gregorian year with PHP?
Here's a graph of Julian days:
http://landweb.nascom.nasa.gov/browse/calendar.html
Is this possible with PHP?
Edit: Based on the answers, here's what I came up with, although there may be an easier way:
$JulianDay = 77;
$Year = 1977;
$DateYear = date("Y/m/d", mktime(0, 0, 0, 1, 1, $Year));
$GregDate = new DateTime($DateYear);
$GregDate->modify("+$JulianDay day");
$Date = $GregDate->format('Y/m/d');
echo $Date; // '1977/03/19'