You might wanna look up [here](https://stackoverflow.com/questions/12503527/how-do-i-convert-the-date-from-one-format-to-another-date-object-in-another-form). Hope this is, what you're looking for :)
– SpringwolveDec 21 '21 at 17:39
A real `date` or `timestamp` column does not have any format. So there is no such thing as "the format coming from a db query" as long as you properly retrieve the value using `getObject(..., LocalDate.class)` or `getObject(..., LocalDateTime.class)` or at least `getTimestamp()` or `getDate()`
– Dec 21 '21 at 20:53