Get current date YYYYMMDD in Windows CMD

Vote 0 Votes

set D=%date:/=%
set YMD=%D:~0,8%
echo %YMD%

About this Entry

This page contains a single entry by Pank published on September 19, 2017 10:49 PM.

Using ffmpeg to record Windows desktop was the previous entry in this blog.

Eanble tftp server in CentOS7 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives