Hello, I'm in serious need of help with my program using GregorianCalendar.
I need to find the difference between two dates in months. I've googled for it and haven't found anything but I did find this forum. So here's what I've been using to get the difference and print the result.
However, the Teacher's Aide teaching my class told me there's a simpler way to do this. I can't find it, so any help is appreciated...
System.out.println("Number of months between your birthday and this date: " +
Edit: Solved the next part, so I'll post how. Just need a better way to calculate difference.
Also, is there a way to get the system date using only the GregorianCalendar and not Date?
GregorianCalendar currentDate = new GregorianCalendar();