title: How to add the date to the file name?
body: <pre><code>from datetime import datetime, date, time
  
  now = datetime.now()
  print now #2013-05-23 04:07:40.951726    
  tar = tarfile.open("test.tar", "w")
  </code></pre>
  
  <p>How to add the date to the file name? For example: <code>test2013_05_23_04_07.tar</code></p>