Set the time on a Linux server

  1. Log into the server via SSH
  2. At the shell prompt run the following command:
    • date MMDDHHmmYYYY
  3. For Example) To change the date and time to April 3, 2009 6:44 pm you would run the command:
    • date 040318442009