posted 19 years ago
Hi,
it depends on what you need, but first note that your java.sql.Time extends Date, so you inherit methods from Date class...
- you need to know how much minutes are in your java.sql.Time object.
--> rs.getTime().getTime() will give you milliseconds since January 1, 1970, 00:00:00 GMT, just divide...
- you need to know how much minutes within the hour, use a Calendar
-->
Arnaud