TSC AUTO ID Technology Co., Ltd. 218 Copyright 2013 All Rights Reserved.
@YEAR
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
Example
Sample code
REM *****Set @YEAR*****
@YEAR="05"
REM *****Print*****
SIZE 4,1
GAP 0,0
DIRECTION 1
CLS
TEXT 10,10,"3",0,1,1,"@YEAR"
TEXT 210,10,"3",0,1,1,@YEAR
PRINT 1
See Also
~!C, @MONTH, @DATE, @DAY, @HOUR, @MINUTE, @SECOND