@echo off
set hh=%time:~0,2%
if /i %hh% LSS 10 (set hh=0%time:~1,1%)
echo %date:~0,4%%date:~5,2%%date:~8,2%%hh%%time:~3,2%%time:~6,2%
pause
@echo off
set hh=%time:~0,2%
if /i %hh% LSS 10 (set hh=0%time:~1,1%)
echo %date:~0,4%%date:~5,2%%date:~8,2%%hh%%time:~3,2%%time:~6,2%
pause