public static String getCurrentDate() { LocalDateTime now = LocalDateTime.now(); int year = now.getYear(); int month = now.getMonthOfYear(); int day = now.getDayOfMonth(); String date = day + "/" + month + "/" + year; return date; }