title: How to create a batch command to make a .zip file name in UTC Time
body: <p>How can we create a zip file in UTC time or current time (-) minus 3 hours from the existing time.</p>
  <p>The command which I use is below pasted:</p>
  <pre><code>echo on
  
  for /f &quot;tokens=3,2,4 delims=/- &quot; %%x in (&quot;%date%&quot;) do set d=%%z%%x_%%y
  set date=%d%
  
  for /f &quot;tokens=1,2,3 delims=:. &quot; %%x in (&quot;%time%&quot;) do set t=%%x%%y%%z
  
  
  set time=%t%
  
  Echo zipping...
  
  &quot;C:\Program Files\7-Zip\7z.exe&quot; a -tzip &quot;C:\DFD\JZR_%d%%t%.zip&quot; &quot;C:\DFD\*.txt&quot;
  </code></pre>
  <p>del &quot;C:\DFD*.txt&quot; /s /f /q</p>
  <p>echo Done!</p>
  <p>if anybody have idea, please help.</p>