EasyManuals Logo
Home>TSC>Printer>M23

TSC M23 Programming Manual

TSC M23
252 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #224 background imageLoading...
Page #224 background image
TSC AUTO ID Technology Co., Ltd. 212 Copyright 2013 All Rights Reserved.
MONTH
Description
This variable reads/writes the month data via the Real Time Clock (RTC). Two-digit (01~12) month
formats are supported by RTC.
Syntax
Write attribute: MONTH = 01
Read attribute: A = MONTH
Range: 01~12
Example
Sample code
DOWNLOAD "SetMonth.BAS"
REM *****Set Month Parameter to RTC*****
MONTH=01
EOP
SetMonth
Sample code
DOWNLOAD "DEMO.BAS"
SIZE 4,1
GAP 0,0
DIRECTION 1
CLS
REM *****Read Month parameter form RTC*****
MONTH$=STR$(MONTH)
M=MONTH
REM *****Print*****
TEXT 10,10,"3",0,1,1,"MONTH1="+MONTH$
TEXT 10,50,"3",0,1,1,"MONTH2="+STR$(M)
TEXT 10,90,"3",0,1,1,"MONTH3="+STR$(MONTH)
PRINT 1
EOP
DEMO
Result
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND

Table of Contents

Other manuals for TSC M23

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC M23 and is the answer not in the manual?

TSC M23 Specifications

General IconGeneral
BrandTSC
ModelM23
CategoryPrinter
LanguageEnglish

Related product manuals