?,
Description
This variable reads/writes the year data via the Real Time Clock (RTC). Two-digit year formats are
supported by RTC. @YEAR global variable can be accessed directly without using BASIC language
functions.
Syntax
Write attribute: @YEAR = "01"
Read attribute: @YEAR
Range: 00~99
Model Support
Example
REM *****Set @YEAR*****
@YEAR="05"
REM *****Print*****
SIZE 3,3
GAP 0.08,0
DENSITY 8
SPEED 6
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
CLS
TEXT 10,10,"5",0,1,1,"@YEAR"
TEXT 310,10,"5",0,1,1,@YEAR
PRINT 1
See Also
~!C, @MONTH, @DATE, @DAY, @HOUR, @MINUTE, @SECOND