Table of Contents

CLOCK_YEAR

X16

Defined in X16.BAS.

Returns the year (1900-based) portion of the current date/time.

Function header

FUNCTION CLOCK_YEAR AS BYTE () SHARED STATIC

Example

INCLUDE "x16.bas"
PRINT "the year is "; CLOCK_YEAR() + 1900

See also