title: Perl code to change the date format from IST/UTC to YYYY-MM-DD format
body: <p>Input:</p>
  
  <pre><code>$str="Thu Mar 25 01:48:45 IST 2011";  
  </code></pre>
  
  <p>Desired output:</p>
  
  <pre><code>2011-03-25
  </code></pre>
  
  <p>I want only date, not the time.</p>