## Name

SETIME — Activate and set system clock

## Synopsis

`setime` [y,m,d,h,m,s]

## Description

This command sets the system date and time, then activates the real time clock. The date and time can be entered as parameters, or if no parameters are given, setime will issue a prompt. Numbers are one or two decimal digits using space, colon, semicolon or slash delimiters. OS-9 system time uses the 24 hour clock, i.e., 1520 is 3:20 PM.

### Important

This command must be executed before OS-9 can perform multitasking operations. If the system does not have a real time clock this command should still be used to set the date for the file system.

### Systems With Battery Backed up Clocks

Setime should still be run to start time-slicing, but only the year need be given, the date and time will be read from the clock.

## Examples

    OS9: setime 82,12,22,1545 (Set to: Dec. 12, 1981, 3:45 PM)

    OS9: setime 821222 154500 (Same as above)

    OS9: setime 82            (For system with battery-backup clock)