title: build.xml to set date and time as file name
body: <p>I want to set file name with date and time attached to it so I want to create file named as <code>behat-20140913-195915.html</code> however the example below sets the name as <code>behat-yyyymmdd-hhiiss.html</code>. Anyone know the solution to problem?</p>
  
  <p>I followed <a href="http://alvinalexander.com/blog/post/java/how-date-time-stamp-timestamp-ant-build-script" rel="noreferrer">this example</a></p>
  
  <p><strong>Note</strong>: These two don't work too: <code>${DSTAMP} ${TSTAMP}</code></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;project name="Sport" default="build-default" basedir="."&gt;
  
      &lt;tstamp&gt;
          &lt;format property="TODAY_MY" pattern="yyyymmdd-hhiiss"  locale="en,UK" /&gt;
      &lt;/tstamp&gt;
  
      &lt;target name="build" description="Runs everything in order ..." depends="behat-bdd" /&gt;
  
      &lt;target name="behat"&gt;
          &lt;echo msg="Running Behat tests ..." /&gt;
          &lt;exec logoutput="true" checkreturn="true"
                command="bin/behat -f progress --format html --out ${dir-report}/behat-${TODAY_MY}.html" dir="./" /&gt;
      &lt;/target&gt;
  
  &lt;/project&gt;
  </code></pre>