title: find hour or minute difference between 2 java.sql.Timestamps?
body: <p>I store a <code>java.sql.Timestamp</code> in a <em>postgresql</em> database as <em>Timestamp</em> data type and I want to find out the difference in minutes or hours from the one stored in the DB to the current <em>timestamp</em>. What is the best way about doing this? are there built in methods for it or do I have to convert it to long or something?</p>