Specifications
Chapter 15. Function Reference
384
■ Syntax 2
Setting the system time
TIME$ sets the system time specified by "time." The format of "time" is the
same as that in syntax 1.
Example:
TIME$="13:35:45"
Setting the wakeup time
TIME$ sets the wakeup time specified by "time." The format of "time" is the
same as that in syntax 1.
• The calendar clock is backed up by the battery. (For the system date, refer to the
DATE$ function.)
• For returning the current wakeup time or setting a specified wakeup time, bit 2 of
port 8 should be set to 1 with the
OUT statement before execution of this function.
• For the wakeup function, refer to Chapter 12, Section 12.3, "Wakeup Function."
Run-time errors:
Reference:
Error code Meaning
05h
Parameter out of the range
(
time is out of the range.)
Functions:
DATE$