http://vgiv.livejournal.com/ ([identity profile] vgiv.livejournal.com) wrote in [personal profile] qkowlew 2015-02-15 02:50 am (UTC)

Не будет работать между полуночью и 10 часами утра:)

В начале нужно как-то так:

set HR=%TIME:~0,2%
if "%HR:~0,1%" equ " " set HR=0%HR:~1,1%
set DATE1=%DATE:~8,2%%DATE:~3,2%%DATE:~0,2%-%HR%%TIME:~3,2%%TIME:~6,2%


P.S. То есть будет, но не при всяких региональных настройках.

Post a comment in response:

This account has disabled anonymous posting.
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org