That's exactly how it's supposed to work, according the spec.
Calendar.get(Calendar.MONTH) returns values 0..11

jacek

> -----Original Message-----
> From: Antonio Villafana [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, November 24, 1999 07:48
> 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*

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to