I am using this code to get the current date and time
LocalDateTime localDateTimeCurrent = LocalDateTime.now();