Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

SETCLOCK AmigaDOS
Purpose: Sets or reads the battery backed-up hardware clock.
Format: SETCLOCK [LOAD | SAVE | RESET]
Template: LOAD/S, SAVE/S, RESET/S
Path: C:SETCLOCK
SETCLOCK sets or reads the battery backed-up hardware clock.

SETCLOCK SAVE sets the date and time of the battery backed-up hardware clock from the current system time, which is set with the TIME Preferences Editor or the DATE command. SETCLOCK SAVE is typically used after a DATE command.

SETCLOCK LOAD sets the current system time from the battery backed-up hardware clock. This is done automatically during the boot process.

SETCLOCK RESET resets the battery backed-up hardware clock completely. Use this option if the clock is accidentally turned off, or LOAD and SAVE do not appear to work correctly.

Example:

3.OS4:> DATE 1-JAN-05 22:30:00 3.OS4:> SETCLOCK SAVE save the date, January 1, 2005, and the time 11:30 p.m., 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.

See Also: DATE


Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.