Hey Dan,
I also have the same problem. Could you please send me some info as to
how to solve this problem. Infact for me when I try to get year on a
year 2000 date object then it returns me 100 (2000 - 1900). I have to
manually change this but is there anyway I can get the right year from
Date object itself????
Thanks.
Kishor.
Danny Rubis wrote:
>
> Hey!
>
> This is off-topic for this forum. I sent you a private E with some
> help.
> Sans adieu,
> Danny Rubis
>
> VSNL wrote:
>
> > Hi all, I have a query...not really sure whether I can put this in
> > this forum..but if you know the answer, please send it to me... I use
> > the ResultSet class to store the result from the database query. One
> > of the column in the database is a Date. I use the getDate() method of
> > the ResultSet class and retrieve the Date object and store it in
> > java.sql.Date object. If I use the Date.getYear(), it returns only the
> > last 2 digits of the date and not the four digits...How to solve this
> > problem. The new Calender class does not provide any method to
> > retrieve the year alone...can anyone help? regardsAditya.
>
>
Kishor Patel
i |money Inc.
"FIND A WAY OR MAKE A WAY"
Voice: 416-368-3920 Ext 5012
Fax: 416-368-5505
Email: [EMAIL PROTECTED]
Website: www.imoney.com
___________________________________________________________________________
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