正文批处理bat获取年、月、日、时、分、秒、毫秒 的方法参数飘云 V管理员/2015-10-29/89 阅读1029此篇文章发布距今已超过902天,您需要注意文章的内容或图片是否可用! 取年份: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%