Variables that require formatting can be defnited using the following formatting symbols.
Specify the formatting to be used by inserting the symbols within curly braces { } when using the variable.
For example:
Note: At RUNTIME if PAS attempts to write out a file or create a directory it checks to make sure it does not contain any invalid characters (i.e. |?:* etc...). If it does all invalid characters will be replaced with an underscore "_"
0 = digit placeholder (000 = 001)
# = digit no placeholder (### = 1)
. = decimal separator (#.# = 0.5)
, = grouping separator (#,### = 1,000)
yy = two-digit year
yyyy = four-digit year
m = month (1-12)
mm = two-digit month (01-12)
mmm = three letter month abbreviation (01=Jan)
mmmm = full month name (01=January)
d = day of month (1-31)
dd = two-digit day of month (01 - 31)
H = hours (1-23)
HH = two digit hour (00 - 23) (AM/PM NOT allowed)
M = minutes (0-59)
MM = two digit minute (00 - 59)
s = seconds (0-59)
ss = two digit second (00 - 59)
h = hour (0 - 12 | 12-hour AM/PM format)
hh = two digit hour (00 - 12 | 12-hour AM/PM format)
tt = AM/PM based on the time
zz = time zone (Pacific Daylight Time = PDT)
zzzz = time zone (Pacific Daylight Time)
Qoppa Software's PDF Automation Server for Windows, Linux, Unix, and macOS
Automate PDF Document Workflows through RESTful Web Services & Folder Watching
Copyright © 2002-Present Qoppa Software. All rights reserved.