LocalDateTime now = LocalDateTime.now(); LocalDate dateNow = now.toLocalDate(); // from datetime to date LocalTime timeNow = now.
確定! 回上一頁