This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes problem with date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "problem with date" Watch "problem with date" New topic

problem with date

santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156


how to convert an java.sql.Time to int value.any body has solution?

thanks in advance


santhosh<br />SCJP,SCWCD
Krishnan Loganathan

Joined: Apr 24, 2004
Posts: 23
I cannt able to get it. What value u want to be in int ? . either hours/minutes/seconds ? In java.sql.Time we are having methods such as getHours(), getMinutes(), getTime(). please look into it.

I agree. Here's the link:
subject: problem with date
jQuery in Action, 3rd edition