Share
 
 

Header and footer variables reference

Add system information to the headers and footers when printing.

Specify the following variables in the CAD View – Page Setup dialog:

&g — Group name

&m — Measure name

&f — File name

&vPowerInspect version number

%a — Abbreviated weekday name

%A — Full weekday name

%b — Abbreviated month name

%B — Full month name

%c — Date and time representation for the computer's locale

%d — Day of month expressed as an integer (01 – 31)

%H — Hour in 24-hour format (00 – 23)

%I — Hour in 12-hour format (01 – 12)

%j — Day of year expressed as an integer (001 – 366)

%m — Month expressed as an integer (01 – 12)

%M — Minute expressed as an integer (00 – 59)

%p — Locale's a.m./p.m. indicator for 12-hour clock

%S — Second expressed as an integer (00 – 59)

%U — Week of year expressed as an integer, with Sunday as first day of week (00 – 51).

%w — Weekday expressed as an integer, with Sunday as first day of week (0 – 6)

%W — Week of year expressed as an integer, with Monday as first day of week (00 – 51)

%x — Date representation for current locale

%X — Time representation for current locale

%y — Year without century expressed as an integer (00 – 99)

%Y — Year with century expressed as an integer

%z or %Z — Time-zone name or abbreviation; no characters if time zone is unknown

%% — Percentage symbol

# — Changes the output format of variables. For example:

%#c — Long date and time representation for the current locale. For example: Thursday, June 17, 2012, 12:41:29

%#x — Long date representation for the current locale. For example: Friday, June 18, 2012

%#d, %#H, %#I, %#j, %#m, %#M, %#S, %#U, %#w, %#W, %#y and %#Y — Remove leading zeros

Was this information helpful?