Milliseconds to LocalDateTime
val millis = 1563778672919Lval date = LocalDateTime.ofInstant(Instant.ofEpochMilli(millis), ZoneId.systemDefault())
Milliseconds to LocalDateTime (UTC)
val millis = 1563778672919Lval date = LocalDateTime.ofInstant(Instant.ofEpochMilli(millis), ZoneOffset.UTC)
Seconds to LocalDateTime
val seconds = 1563778672val date = LocalDateTime.ofInstant(Instant.ofEpochSecond(seconds), ZoneId.systemDefault())
NOTE: LocalDateTime To Timestamp Epoch Seconds And Milliseconds