Brother International TD-4420TN FBPL Command Reference - Page 239
@YEAR, Description, Syntax, Example, See Also
![]() |
View all Brother International TD-4420TN manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 239 highlights
12.9 @YEAR Description Write/read the year data via the Real Time Clock (RTC). Two-digit year format is 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 Result 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 234
![](/manual_guide/products/brother-international-td4420tn-fbpl-command-reference-a4fb318/239.png)
234
12.9 @YEAR
Description
Write/read the year data via the Real Time Clock (RTC). Two-digit year format is 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
Result
See Also
~!C, @MONTH, @DATE, @DAY, @HOUR, @MINUTE, @SECOND