Link to home
Start Free TrialLog in
Avatar of laxmareddyb
laxmareddyb

asked on

Convert given date (mm/dd/yyyy) to julian date (ddd) in java

Can some one help me in converting given date of format (mm/dd/yyyy) to Julian date of format (ddd) in Java. Thanks.
Avatar of patrick_defibaugh_chavez
patrick_defibaugh_chavez

Here is a cool little class from Real's How-to that converts to Julian:
http://www.rgagnon.com/javadetails/java-0506.html
Avatar of laxmareddyb

ASKER

I am looking at converting the given Input date  to Julian Date. Not Julian date to Normal date.
ASKER CERTIFIED SOLUTION
Avatar of patrick_defibaugh_chavez
patrick_defibaugh_chavez

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This solution did not work correctly for me. E.g. yesterday (June 8) should have been 159, but it said it was 245.  Is there an error in this code from rgagnon?