toLocalDate

fun Date.toLocalDate(): LocalDate

Converts JavaScript Date to LocalDate.