设置时间和日期使用date命令可以设置日期和时间,设置后使用hwclock命令将时间同步到硬件。 Choose here javascripttypescripthtmlcssshellpythongolangjavacc++c#phprubyswiftkotlinscalarustdartelixirhaskellluaperlrsql date -s "2025-01-02 13:14:15" hwclock -w 时间设置后,建议执行reboot命令,重启设备,以便系统能正确应用当前设置。