Because Calendar is 0 based for months (ie 0 to 11).
 
 
-- Gary 
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's JavaServlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Antonio Villafana
Sent: Wednesday, November 24, 1999 8:48 AM
To: [EMAIL PROTECTED]
Subject: Wrong Calendar Date

Hi Everyone,
Can someone please tell me why the <Calendar.get(Calendar.MONTH)> is returning the date minus a month. e.g if today is 99-11-24..... the package returns 99-10-24.
 
My system date and time is set correctly.
 
*Antonio*

Reply via email to