Date COnv

I want to convert a java.sql.date obj tojava.sql.gregoriancalendar..

SInce iam using Jdk1.5 i cannot use the methods like getDay(),getMonth() etc of Java.util.Date.

It is given that we have to use Calendar.get(DAY_OF_WEEK)...

But how to do this.... either conv

1) java.sql.date obj tojava.sql.gregoriancalendar..

2) get the Day, month etc

plz help

[421 byte] By [vivekphlpa] at [2007-10-2 20:20:21]
# 1
Calendar.setTimeInMillis(Date.getTime());
es5f2000a at 2007-7-13 23:02:40 > top of Java-index,Java Essentials,Java Programming...