title: CMD specifying columns to save?
body: <p>I looked at a code by someone previously and saw them do code that went like:</p>
  
  <pre><code>    set Today=%DATE:~0,3%
  </code></pre>
  
  <p>And if the variable (%DATE%) was executed (echo %DATE%) it would come out with the first 3 letters of the date it was, this worked for other commands such as %TIME%, etc... But I was wondering if it was possible to specify what it takes instead of a first section, the reason I want this is cause I am attempting to make a logging system that logs with the times and date, though the %time% variable consists of colons, which can't be put as folder names, </p>
  
  <p>Some attempts:</p>
  
  <pre><code>    set Today=%TIME:~0,2 ~4,5%
  
      set Today=%TIME:~0,2:4,5%
  </code></pre>
  
  <p>The list goes on, so to specify in more detail what I want, it is simply a way to take only the numbers of the %time% variable, or to remove the colons with a filtering method, if either are possible or you have a suggestion, please go ahead and tell me.
  Thanks for reading. :)</p>