VMS Help
DSR, DSR Commands, .SET DATE

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    The .SET DATE and .SET TIME commands let you specify a date and
    time to be inserted in your file when you issue the Substitute
    flag pair, $$, with any of the appropriate date or time
    parameters. .SET DATE also sets the date for the .DATE command,
    which causes the date to appear in running heads.

    Formats

      .SET DATE  d1 ,d2 ,d3

      .SET TIME  t1 ,t2 ,t3

    Abreviated formats

      .SDT  d1 ,d2 ,d3

      .STM  t1 ,t2 ,t3

  1 - Parameters

 d1

    A number specifying the day of the month

 d2

    A number specifying the month of the year

 d3

    A number specifying the year (either four digits or the last two
    digits of the year)

 t1

    A number specifying the hour of the day

 t2

    A number specifying minutes past the hour

 t3

    A number specifying seconds past the minute

    If you precede any of these values with a plus sign (+) or a
    minus sign (-), you will change the corresponding current value
    by adding to or subtracting from it the value following the + or
    -.

  2 - Defaults

    o  If you do not enter .SET DATE or .SET TIME, entering a $$time,
       $$date, or any of the appropriate date or time parameters with
       the substitute flag pair ($$) will give you the date or time
       that DSR began processing the file.

    o  If you enter either of these .SET commands, you can retain
       a previous value by omitting its value from the command. You
       must, however, type any comma that would have followed it.

    o  If you enter either command without specifying any values for
       it, you will get the current date or the time as of the second
       the command is executed.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.