get current time in kotlin code example Example: kotlin get current date val currentDate=LocalDate.now();