title: How to get the date from a file in a bat file?
body: <p>I'm writing a bat script and I have to save the date from a file to a variable. How can I do that?</p>
  
  <p>I will use the variable to check wether the file is older than N days, so it would be nice to save the date in a format that would allow me to do such test.</p>