Modify the Date and Time

  1. Use the date command to view and modify the date and time.
  2. To modify the time, enter date followed by the month, day, hour, minute, and year.
    Note: Ensure that all the values you provide are in numerals with no spaces.
    Note: The hardware clock can be updated either in UTC (Coordinated Universal Time) or using your local time. However, the standard practice is to update the hardware clock in UTC.