The last thing it does before outputting a line to the published file is to check for substitutions including "#date" and "#time". As a result, these substitutions are done in any included files. If they are found, they are replaced by the current date and time as determined by the date and time when AddMenu is run. Then processing continues as normal.
"#date" uses a mm/dd/yyyy type format and "#time" uses a hh:mm format using a 24 hour format.
For example, if AddMenu was run on 11/30/2019 at 22:03 the code
Revised on #date #time.
would be changed to
Top of file
Revised 11/30/2019 22:03.
Questions, suggestions or comments: James Brink