//Get the day of the date for it's month
System.out.println("The day of the date as a day in this date's month(1-31) is = "+today.dayOfMonth());
//Get the day of the date for it's year
System.out.println("The day of the date as day in it's year(1-366) is = "+today.dayOfYear());
//Check if the date belongs to a leap year
if (Date.isLeap(today.year())) {
System.out.println("Today's date belong to leap year");
}