EasyManuals Logo
Home>TSC>Barcode Reader>TTP-243 Series

TSC TTP-243 Series Programming Manual

TSC TTP-243 Series
206 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 #151 background imageLoading...
Page #151 background image
TSC AUTO ID Technology Co., Ltd. 141 Copyright 2009 All Rights Reserved.
FORMAT$( )
Description
Returns the current date and time according to the setting of your printer.
Syntax
FORMAT$(expression [, style$] )
Parameter Description
expression Required. Any valid expression.
style$ Optional. A valid named or user-defined format string expression.
Predefined date/time format
Description
General Date
Shows date and time.
Long Date
Uses the Long Date format.
Medium Date
Uses the dd-mmm-yy format.
Short Date
Uses the Short Date format.
Long Time
Shows the hour, minute, second, and "AM" or "PM" using the h:mm:ss format.
Medium Time
Shows the hour, minute, and "AM" or "PM" using the "hh:mm AM/PM" format.
Short Time
Shows the hour and minute using the hh:mm format.
User-defined date/time
formats
Description
c
Display the date as ddddd and display the time as ttttt, in that order.
d
Display the day as a number without a leading zero (1 - 31).
dd
Display the day as a number with a leading zero (01 - 31).
ddd
Display the day as an abbreviation (Sun - Sat).
dddd
Display the day as a full name (Sunday - Saturday).
ddddd
Display a date serial number as a complete date (including day, month, and year), formatted
according to your system's short date format setting. The default short date format is m/d/yyyy.
dddddd
Display the date as a complete date (including day, month, and year), formatted according to the
long date setting recognized by your system. The default long date format is dddd, mmmm dd, yyyy.
w
Display the day of the week as a number (1 for Sunday through 7 for Saturday).
ww
Display the week of the year as a number (1 - 53).
m
Display the month as a number without a leading zero (1 - 12). If m immediately follows h or hh, the
minute rather than the month is displayed.
mm
Display the month as a number with a leading zero (01 - 12). If mm immediately follows h or hh, the
minute rather than the month is displayed.
mmm
Display the month as an abbreviation (Jan - Dec).
mmmm
Display the month as a full month name (January - December).
q
Display the quarter of the year as a number (1 - 4).
y
Display the day of the year as a number (1 - 366).
yy
Display the year as a 2-digit number (00 - 99).
yyyy
Display the year as a 4-digit number (100 - 9999).
h
Display the hour as a number without leading zeros (0 - 23).
hh
Display the hour as a number with leading zeros (00 - 23).
n
Display the minute as a number without leading zeros (0 - 59).
nn
Display the minute as a number with leading zeros (00 - 59).
s
Display the second as a number without leading zeros (0 - 59).
ss
Display the second as a number with leading zeros (00 - 59).
ttttt
Display a time as a complete time (including hour, minute, and second). The default time format is
h:mm:ss AM/PM.
AM/PM
Display an uppercase AM with any hour before noon; display an uppercase PM with any hour
between noon and 11:59 P.M.
am/pm
Display a lowercase AM with any hour before noon; display a lowercase PM with any hour between
noon and 11:59 P.M.
A/P
Display an uppercase A with any hour before noon; display an uppercase P with any hour between
noon and 11:59 P.M.
a/p
Display a lowercase A with any hour before noon; display a lowercase P with any hour between noon
and 11:59 P.M.
AMPM
AMPM can be either uppercase or lowercase, but the case of the string displayed matches the string
as defined by your system settings.

Table of Contents

Other manuals for TSC TTP-243 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC TTP-243 Series and is the answer not in the manual?

TSC TTP-243 Series Specifications

General IconGeneral
BrandTSC
ModelTTP-243 Series
CategoryBarcode Reader
LanguageEnglish

Related product manuals