Time Wildcards

Reference:        Wildcard Toolbar
                        Wildcard Definitions
                        Alphabetical Commands List
                        Topical Commands List

The following wildcards may be used as placeholders for the various time values. 

%HH

Two-digit hour on a 24-hour clock (00 - 23)

%MI

Two-digit minute (00 - 59)

%SS

Two-digit second (00 - 59)

%TP

Three character quarter-day abbreviation (Mrn, Aft, Eve, Nht)

%TD

Two character AM or PM designator

%T[(<date>)] + | - <number> D | H | M

Where:  <number> is the time to add to or subtract from the current time and <date> is a date variable that has already been assigned. 

The (<date>) clause is optional.  If no date is specified, the %T wildcard always works from the current date and time.  The direction of the adjustment is indicated by the (+) and (-) signs.  The suffix specifies whether the adjustment is in Days, Hours, or Minutes.  The wildcard can contain no spaces.  This wildcard inserts nothing in the script, but will cause subsequent date and time wildcard values to be adjusted.  It applies only to the line in which it appears.

Example:          %T(%’MyDate’)+2D
                        %T-1H

Note:  Since wildcard entries are processed in order, the %T must precede those date and time values you wish to adjust.  The best practice is to always insert this wildcard first in the line.  The date and time are reset at the end of each line, so adjustments must be repeated for every line, or included in a variable that is used in each line.