Calendar java util return the wrong month [duplicate]
问题 This question already has answers here : Calendar returns wrong month (9 answers) Closed 5 years ago . i'm trying to make GUI that allowed people to save there shifts in a calendar. i'm trying to build my calendar using import java.uti.Calendar. during trying to print the Month it bring me back the current month 10 instead of 11 , any suggestions? package hours_report; import hours_report.MyPanel.MyActionListener; import java.util.Calendar; import java.util.Date; public class MyCalendar {