批處理經常使用集合

0.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 %t
相關文章
相關標籤/搜索