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.
___________________________________________________________________________
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