Linux change the system time

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/young2415/article/details/89344805

First, look at the man command to change the system time what format should be used:
Here Insert Picture Description
format red ring out of the box is required when changing the system time, MM is the month, DD is the day, hh represents hours, mm represents minutes, CC represents the century, YY is the year, ss represents seconds.
So if now is the time "April 16, 2019 23:30:30", so you can set the system time for Linux:

date 041623302019.30

Share a friend of Artificial Intelligence tutorial. Zero-based! Easy to understand! Humorous! We can look at whether they have help, click here to view the tutorial .

Guess you like

Origin blog.csdn.net/young2415/article/details/89344805