ascii-time - Return the current time as a string
ascii-time
ascii-time returns the current time as a formatted string in #p9 which is equivalent to #l9 for the calling macro. The format of the time string is:
"WWW MMM DD hh:mm:ss yyyy"
Where: WWW - Week day, Sun - Sat
MMM - Month, Jan - Dec
DD - Day, 1 - 31
hh - Hour, 00 - 23
mm - Minute, 00 - 59
ss - Second, 00 - 59
yyyy - Year, 1998...
The following is taken from etfinsrt.emf, it uses ascii-time in replacing "$ASCII_TIME$" with the current.
0 define-macro etfinsrt . . ; Change the create date $ASCII_TIME$. beginning-of-buffer ; Get ASCII time in #l9 ascii-time !force replace-string "\\$ASCII_TIME\\$" #l9 . . !emacro
ascii-time is a macro defined in misc.emf.
(c) Copyright JASSPA 1999
Last Modified: 1998/09/02
Generated On: 1999/12/01