Echo %Date:~0,4%-%Date:~5,2%-%Date:~8,2% %Time:~0,2%:%Time:~3,2%
不显示周几
Echo %Date:~0,4%-%Date:~5,2%-%Date:~8,2% %Time:~0,2%:%Time:~3,2%:%Time:~6,2%
DOS下如何同时显示时区日期和时间
原文:http://www.cnblogs.com/xiluhua/p/4902996.html