title: converting date time to 24 hour format
body: <p>The time I get from the server is like  <code>Jul 27, 2011 8:35:29 AM</code>. </p>
  
  <p>I want to convert it to <code>yyyy-MM-dd HH:mm:ss</code>.</p>
  
  <p>I also want the converted time to be in 24 hour format. Can any one give solution to this problem. The output I want to get is like <code>2011-07-27 08:35:29</code></p>