How to get hour min AM/PM from java.sql.Date

Hi Friends, I have fetching records from date/time field which have hour and min data.Problem I am facing is that I cannot access those data as java.sql.Date does not have method like getHour(). I am converting into util.date then also it is not showing. Does anybody have any suggestion regarding this problem. Thanks in adv. Sonu

Sandeep Ghosh
Ranch Hand

Joined: Jan 23, 2002
Posts: 145

posted Jun 20, 2002 04:58:00

0

Hi Friends, I just got the answer after little search of API.I just have to use getTimeStamp(). Thanks anyway. Sonu