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