Spring Boot 에서 LocalDateTime을 request로 받거나 response로 응답을 내려 줄 경우 request : DateTimeFormat Annotation response : JsonFormat Annotation 을 이용하여 원하는 날짜 포멧으로 변환하여 받거나 내려 줄 수 있다. // Request @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createdDatetime; // Response @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createdDatetime;