title: Why does Windows FORFILES with option /D -10 not find files last modified within last 10 days?
body: <p>The following command line lists <strong>every</strong> <code>.JS</code> file in the current directory and all subfolders, not just the files last modified in the previous 10 days as expected by me.</p>
  <pre><code>FORFILES /S /D -10 /M *.js /C &quot;cmd /c echo @path&quot;
  </code></pre>
  <p>Whereas this command lists only the <code>.JS</code> files modified on or after 2/20/2022.</p>
  <pre><code>FORFILES /S /D 2/20/2022 /M *.js /C &quot;cmd /c echo @path&quot;
  </code></pre>
  <p>Any ideas why using the option <code>/D -10</code> doesn't result in the expected output?</p>