echo 取年份: %date:~0,4% ECHO 取月份 %date:~5,2% ECHO 取日期:%date:~8,2% echo 取星期:%date:~10,6% echo 取小时:%time:~0,2% echo 取分:%time:~3,2% echo 取秒:%time:~6,2% echo 毫秒:%time:~9,2% echo 年月日:%date:~0,4%-%date:~5,2%-%date:~8,2%
CMD打印日期格式
猜你喜欢
转载自xty88645.iteye.com/blog/1985620
今日推荐
周排行