Java tutorial
import java.time.LocalDate; public class Main { public static void main(String[] argv) { LocalDate today = LocalDate.now(); LocalDate tomorrow = today.plusDays(1); System.out.println(tomorrow.isAfter(today)); } }