1. 按下 Win 键,打开开始菜单
2. 在搜索栏重输入 CMD,然后选择“以管理员身份运行”
3. 在弹出的命令提示符窗口中输入以下命令,并按回车键:
powershell.exe Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -Value 1 -Force
4:重启电脑即可
5:取消秒级时间格式代码:
powershell.exe Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -Value 0 -Force