title: How to convert HH:mm:ss into int?
body: <pre><code>SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
  int s = Integer.parseInt(sdf.format(new Date()).replace(":"," "));
  </code></pre>
  
  <p>I am converting the time which is give in string to int using <strong>integer.parseInt</strong> but gives number not calid exception</p>