How To Set Date Time In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To set the date and time on a Linux system, you can use the date command with the following syntax:
date –set=”[YYYY-MM-DD] [HH:MM:SS]”
For example, to set the date and time to 2019-09-13 12:00:00, use the following command:
date –set=”2019-09-13 12:00:00″