Difference between revisions of "Shell Commands/SetClock"
From MorphOS Library
(Created page with "'''SetClock''' - Changes system and/or internal clock time LOAD/S, SAVE/S, RESET/S <nowiki> LOAD - sets the current system time form the battery backed-up clock...") |
(No difference)
|
Latest revision as of 12:12, 3 March 2015
SetClock - Changes system and/or internal clock time
LOAD/S, SAVE/S, RESET/S
LOAD - sets the current system time form the battery backed-up clock (automatically done by the boot process) SAVE - sets the date and time of the battery backed-up hardware clock from the current system time RESET - resets the clock completely
Example:
MorphOS:> date Thursday 20-Jan-05 15:09:10 MorphOS:> setclock save
- => Saves the date, January 20, 2005, and the time, 15:09, to the battery backed-up hardware clock. When the system is booted, the system clock is set with the time saved in the hardware clock.
NOTE: Use the Date command or the Time preferences panel to change the system time and date.