pastebin

Paste Search Dynamic
Recent pastes
LocalTime now
  1. import java.time.LocalTime;
  2. import java.time.format.DateTimeFormatter;
  3. import java.util.Locale;
  4.  
  5. public class Main {
  6.         public static void main(string[] args) {
  7.                 system.out.println(LocalTime.now().format(DateTimeFormatter.ofPattern("H:mm")));
  8.         }
  9. }
Parsed in 0.004 seconds