TGAL Manual

TODAY Command
TGAL Commands
2–74 060865 Tandem Computers Incorporated
Considerations
The TODAY command does not print the date but describes the format for the
date to be used when you supply the TODAY option in the HEAD, SUBHEAD,
and FOOT commands.
If you supply the names of the months in the TODAY command, do not press
RETURN until you have typed all the names. TGAL accepts command lines that
are 132 characters long.
If you do not use this command, TGAL assumes:
TODAY SHORT USA "January, February,...,December"
Examples
These examples show the various formats that the TODAY command can produce.
1. The TODAY command produces the month/day/year format with the
USA option.
Command: \TODAY SHORT USA
Result: 10/21/81
Command: \TODAY LONG USA
Result: October 21, 1981
2. The TODAY command produces the day/month/year format with the WORLD
option.
Command: \TODAY SHORT WORLD
Result: 21.10.81
Command: \TODAY LONG WORLD "janeiro,fevereiro,marco,abril,
maio,junho,julho,agosto,setembro,outubro,
novembro,dezembro"
Result: 21 outubro 1981
3. The TODAY command only changes those items you specify; previous TODAY
commands can still have parts in effect. If you change the separator in one
command and the format in another command, the separator remains in effect.
Command: \TODAY SHORT "-"
Result: 10-21-81
Subsequent Command: \TODAY SHORT WORLD
Result: 21-10-81