title: Time is set incorrectly after midnight
body: <p>I use the following to get the current date/time in a more readable format:</p>
  <pre><code>set day=%date:~4,2%
  set mth=%date:~7,2%
  set yr=%date:~10,4%
  set hur=%time:~0,2%
  set min=%time:~3,2%
  set bdate=[%day%-%mth%-%yr%]-[%hur%-%min%]
  </code></pre>
  <p>This works well and outputs something like: <code>[02-06-2020]-[22-59]</code></p>
  <p>However, after midnight the time format changes from <strong>HH:MM:SS:MS</strong> to <strong>H:MM:SS:MS</strong>. That messes up the format because it includes the colon <code>:</code> in the time because of the characters are shifted over by one. That results in a not useful date/time information in the log file created after midnight.</p>
  <p>Is there any way to get the time always in the format with two digits for the hour?</p>