I have seen the \"solution\" at http://www.rgagnon.com/javadetails/java-0506.html, but it doesn\'t work correctly. E.g. yesterday (June 8) should have been 159, but it said
I've read all the posts and something's not very clear I think.
user912567 mentionned Jean Meeus, and he's absolutely right
The most accurate definition I've found is given by Jean Meeus in its "Astronomical Algorithms" book (a must have, really...).
Julian Date is a date, expressed as usual, with a year, a month and a day.
Julian Day is a number (a real number), counted from year -4712 and is "...a continuous count of days..." (and fraction of day). A usefull time scale used for accurate astronomical calculations.
Jean Meeus : "The Julian Day has nothing to do with the Julian calendar" ("Astronomical Algorithms", 2nd Edition, p.59)