LocalTime a= LocalTime.parse("20:13:01"); // LocalTime a= LocalTime.now(); System.out.println(a); System.out.println(LocalDate.now().atTime(a).atZone(ZoneId.systemDefault()).toInstant());