Simple Question, but Google surprisingly had little on this. I have the number of days from Jan 1st of the year. How can I convert that to a date i
number of days
date
I find JodaTime very elegant to use when it comes to date handling. With it, you could do it like this:
DateTime date = new DateTime().withDayOfYear(dayOfYear);