|
Hi,
Take a look at the GregorianCalendar. David 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. |
begin:vcard n:Bertrand;David x-mozilla-html:FALSE org:CGI Montreal adr:;;1130, Sherbrooke Ouest;Montreal;Quebec;;Canada version:2.1 email;internet:[EMAIL PROTECTED] title:Conseiller Principal/Senior Consultant tel;fax:(514) 841-3222 tel;work:(514) 841-3250 Ext. 5679 x-mozilla-cpt:;0 fn:David Bertrand end:vcard
