Java LocalDateTime create now()

Description

Java LocalDateTime create now()

import java.time.LocalDateTime;

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

  }/*  w w  w.j a va2  s.  c o m*/
}



PreviousNext

Related