Table of Contents
SETCLOCK
Subroutine header
SUB SETCLOCK ( _ year AS BYTE, _ month AS BYTE, _ day AS BYTE, _ hour AS BYTE, _ min AS BYTE, _ sec AS BYTE _ ) SHARED STATIC
Example
INCLUDE "x16.bas" ' Set the clock to 2022-12-29 21:50:00 ' Note: year is 1900-based CALL SETCLOCK(122, 12, 29, 21, 50, 0)