5 Replies Latest reply: Jan 7, 2005 1:07 AM by 807596 RSS

    How to interpret the current day of the month

      I am a rookie in java and am trying to play with the Calendar class.
      The DATE static field of this class says it returns "Field number for get and set indicating the day of the month."
      So, Calendar.DATE has to return the current day of the month.
      Today is 7th of january. So, it should return 7. But, I am getting a value of 5.
      I am very much confused. I fell that my interpretation os wrong.
      Please help.............
      Thanks in advance.