title: convert string into java.util.date format in java
body: <p>am having a string like this.</p>
  
  <pre><code>Thu Oct 07 11:31:50 IST 2010
  </code></pre>
  
  <p>I want to convert this into its exact date time format to store it in SQL.</p>
  
  <p>Am familiar with so many string to date conversions like the following.</p>
  
  <pre><code>String dateString = "2001/03/09";
  
  SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/mm/dd");
  Date convertedDate = dateFormat.parse(dateString); 
  </code></pre>
  
  <p>But i need to convert a string like <code>Thu Oct 07 11:31:50 IST 2010</code>
    into its Date format with timestamp.</p>
  
  <p>Can anyone explain the proper way of converting this into its java.util.Date format.?</p>