List of usage examples for java.time ZonedDateTime getDayOfYear
public int getDayOfYear()
From source file:Main.java
public static void main(String[] args) { ZonedDateTime dateTime = ZonedDateTime.now(); System.out.println(dateTime.getDayOfYear()); }