you can use the following script to get date and time in windows batch script to use for naming file (it's locale depend, you need to change the delims for other region and time)
@echo off
For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set current_date=%%c-%%a-%%b)
For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set current_time=%%a%%b)
REM 24hr/military format
For /f "tokens=1-2 delims=/:" %%a in ("%TIME%") do (set current_military_time=%%a%%b)
echo %current_date%
echo %current_time%
echo %current_military_time%