title: batch - File last modification time with seconds
body: <p>I want to know when a file has been modified for the last time.</p>
  
  <p>I can get these infos using the following batch script: </p>
  
  <blockquote>
    <p>FOR %%i IN (myfile) DO SET modif_time=%%~ti</p>
  </blockquote>
  
  <p>The problem is that I need the second of the last modification and the command <code>%~t</code> returns the date and the time with only hours and minutes.</p>
  
  <p>I can only check the seconds by manually viewing the "property window" file by file.</p>
  
  <p>How can I get the time with seconds in batch?</p>