Time Settings
When Linux starts up, it automatically syncs network time, but uses UTC (London time) by default. For use in China, you need to change the timezone to Asia/Shanghai for the date command to display the correct time.
Execute the command:
sudo dpkg-reconfigure tzdata
Select Asia and press Enter.

Select Shanghai and press Enter.

After configuration, you can use the date command to check the time:
date
