Java LocalDate create now()

Description

Java LocalDate create now()

import java.time.LocalDate;

public class Main {
  public static void main(String[] args) {
    LocalDate dateOnly = LocalDate.now();
    System.out.println(dateOnly);

  }/*from   w  ww.  ja  va2  s.c  o m*/
}



PreviousNext

Related