Julian day of the year in Java

DateFormat d = new SimpleDateFormat("D");
System.out.println(d.format(date));

Leave a Comment