admin管理员组

文章数量:1130349

windows使用当地时间,ubuntu使用UTC时间,两者之间时差为8h。
首先安装时间同步工具:

sudo apt install ntpdate

再使用时间同步工具通过互联网同步时间:

sudo ntpdate time.windows

将ubuntu设置为当地时间:

sudo hwclock --localtime --systohc

重启之后,双系统时间就同步啦!

windows使用当地时间,ubuntu使用UTC时间,两者之间时差为8h。
首先安装时间同步工具:

sudo apt install ntpdate

再使用时间同步工具通过互联网同步时间:

sudo ntpdate time.windows

将ubuntu设置为当地时间:

sudo hwclock --localtime --systohc

重启之后,双系统时间就同步啦!

本文标签: 双系统时间UbuntuWindows