Library /sys$common/syshlp/helplib.hlb  —  Lexicals  F$TIME  Example
  $ OPEN/WRITE OUTFILE DATA.DAT
  $ TIME_STAMP = F$TIME()
  $ WRITE OUTFILE TIME_STAMP

      This example shows how to use the F$TIME function to time-stamp
      a file that you create from a command procedure. OUTFILE is
      the logical name for the file DATA.DAT, which is opened for
      writing. The F$TIME function returns the current date and time
      string, and assigns this string to the symbol TIME_STAMP. The
      WRITE command writes the date and time string to OUTFILE.
Close Help