how to change date on linux
- User
how to change date on linux
- Assistant
Changing the date on a Linux system can typically be done using the
datecommand or by modifying the system clock withtimedatectl. Here’s how you can do it using both methods:Method 1: Using the
datecommand-
Open a terminal.
-
Use the following syntax to set the date and time:
sudo date MMDDhhmm[[CC]YY][.ss]
-