One more GregorianCalendar question
posted 9 years ago
My book wants me to write an app to calculate the number of days from now until the end of the year. I came up with the below, but it displays 0. If I leave the GregorianCalendar constructor blank, it initializes to the current date, right? What am I doing wrong? Thanks!