Julian day of the year in Java

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-06-09T12:03:34Z Indexed on 2010/06/09 12:12 UTC
Read the original article Hit count: 682

Filed under:
|

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 it was 245.

So, does someone have a solution in Java for getting the current date's three digit Julian day (not Julian date - I need the day this year)?

Thanks! Mark

© Stack Overflow or respective owner

Related posts about java

Related posts about julian