228 of 318
ZBasic System Library 218 ZX Microcontroller Family PutTime Type Subroutine Invocation PutTime(hour, minute, seconds) Parameter Method Type Description hour ByVal Byte The hour value (0-23). minute ByVal Byte The minutes value (0-59). seconds ByVal Single The seconds value (0.0 to 59.999) Discussion This routine combines the given values into the corresponding RTC tick count and stores the result in Register.RTCTick. Each parameter that is outside its corresponding legal range is considered to be zero. Note that Register.RTCTick is initialized to zero on power-up or reset. This corresponds to 0:00:00. See Also GetTime