Answers for "cast as date kotlin"

0

string to date kotlin

val l = LocalDate.parse("14-02-2018", DateTimeFormatter.ofPattern("dd-MM-yyyy"))

val unix = l.atStartOfDay(ZoneId.systemDefault()).toInstant().epochSecond
Posted by: Guest on March-03-2021

Browse Popular Code Answers by Language