Shell Commands/SetClock

From MorphOS Library

< Shell Commands

SetClock - Changes system and/or internal clock time


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


  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.