Convert LocalDate to LocalDateTime (Kotlin)

August 7, 2019
val localDate = LocalDate.now()
val localDateTime = localDate.atStartOfDay()    // 2019-08-07T00:00
val localDateTime = localDate.atTime(23, 1, 1)  // 2019-08-07T23:01:01
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.