NOTE: Keep in mind that these codes are case sensitive . This is most important with codes for date and time formats, as well as with codes for page number specifications. Capitalizing the wrong letter may give you a different header/footer than you wanted.
Code Element the code represents
| Code |
Meaning |
| &w |
Window title |
| &u |
Page address (URL) |
| &d |
Date in short format specified by Regional Settings in Control Panel |
| &D |
Date in long format specified by Regional Settings in Control Panel |
| &t |
Time in the format specified by Regional Settings in Control Panel |
| &T |
Time in 24-hour format |
| &p |
Current page number |
| &P |
Total number of pages |
| && |
A single ampersand (&) |
| &b |
The text immediately following these characters as centered |
| &b&b |
The text immediately following the first "&b" as centered, and the text following the second "&b" as right-justified |