Calculating days between two dates with Java
I want a Java program that calculates days between two dates. Type the first date (German notation; with whitespaces: “dd mm yyyy”) Type the second date. The program should calculates the number of days between the two dates. How can I include leap years and summertime? My code: import java.util.Calendar; import java.util.Date; import java.util.Scanner; public … Read more