Java LocalTime create now()

Description

Java LocalTime create now()


import java.time.LocalTime;

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

  }/*from w w w.  ja va  2  s.  co m*/
}



PreviousNext

Related