批处理-取年月日、时分秒毫秒 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%