java time type

Solutions on MaxInterview for java time type by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "java time type"
Lautaro
03 Sep 2016
1import java.time.LocalTime; // import the LocalTime class
2...
3// To display the current time (hour, minute, second, and nanoseconds)
4LocalTime time = LocalTime.now();
5System.out.println(time); // 11:04:57.416546