Main Menu

Search

LINUX: How to Set Date/Time to a particular Date/time on Linux Machine Using Date Command?

Below command can be used.
date --set="<dd> <mon> <yyyy> <hr>:<mm>:<ss>"


For e.g. if you want to set the date/time to 15th August 2019 13:10:20 your command will look like this.
date --set="15 AUG 2019 13:10:20"

Products to which Article Applies


All Linux Operating Systems

Additional Reference




tarun boyella

No comments:

Post a Comment