How to get current Date (day month and year) and time (hour, minutes and seconds) all in local time in Kotlin?
I tried through LocalDateTime.now() but it is
LocalDateTime.now()
To get the current Date in Kotlin do this:
val dateNow = Calendar.getInstance().time