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