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