Go to main content

Managing System Information, Processes, and Performance in Oracle® Solaris 11.4

Exit Print View

Updated: August 2021

How to Manually Set the Date and Time of a System

  1. Become an administrator.

    See Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. Set the new date and time.
    $ date mmddHHMM[[cc]yy]
  3. Verify that you have reset the date of your system correctly by using the date command with no options.
Example 6  Manually Setting the Date and Time of a System

The following example shows how to use the date command to manually set the date and time of a system.

# date
Monday, September 13. 2010 02:00:16 PM MDT
# date 0921173404
Thu Sep 17:34:34 MST 2010