goback add

bat批处理-取年、月、日、时、分、秒、毫秒

9491 点击·1 回帖
灯火互联
楼主
bat 批处理-取年、月、日、时、分、秒、毫秒
取年份: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%

喜欢0 评分0
波罗蜜
沙发
bat批处理-取年、月、日、时、分、秒、毫秒

回复(0) 喜欢(0)     评分