home *** CD-ROM | disk | FTP | other *** search
/ Software 2000 / Software 2000 Volume 1 (Disc 1 of 2).iso / utilities / u258.dms / in.adf / UserDocs / Manual_Pages / Date < prev    next >
Encoding:
Text File  |  1988-02-12  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      Date(REL2)             ARP User's    Manual            Date(REL2)
  5.  
  6.  
  7.  
  8.      NAME
  9.       DATE - Set or    display    the system date.
  10.  
  11.      SYNOPSIS
  12.       DATE DATE TIME TO=VER/K
  13.  
  14.      DESCRIPTION
  15.       Date is used to set the systems idea of the current date and
  16.       time,    or to display the systems idea of the current date and
  17.       time.
  18.  
  19.       To display the current system    time simply use    Date with no
  20.       arguments.  You may specify a    TO or verification file    to
  21.       send the date    to, if no TO file is specified,    the date is
  22.       displayed in the current window.
  23.  
  24.       To set the time you use the format HH:MM, where H stands for
  25.       hours    and the    M stands for miuntes.  The BCPL    version
  26.       required you to enter    leading    zero's.     The ARP version is
  27.       more intelligent, you    do not have to enter leading zero's,
  28.       but if you enjoy entering leading zeros, the ARP Date    will
  29.       accept them.
  30.  
  31.       Both the display of the date and the setting of the date are
  32.       determined by    the ARP    environment variable 'dateformat'.
  33.       This determines one of several international formats for
  34.       displaying and setting the date.  If 'dateformat' is not set
  35.       or if    its value is zero, the AmigaDOS    version    is used.  Here
  36.       is a list of the legal values    for dateformat,    and the
  37.       corresponding    input and output formats:
  38.  
  39.       0 - This is the default AmigaDOS format, DD-MMM-YY is    used
  40.           for both input and output.  Note that    if datetime is
  41.           undefined, or    the value is illegal, this will    be the
  42.           default option.
  43.  
  44.       1 - International format, YY-MM-DD is    the format.
  45.  
  46.       2 - USA format, MM-DD-YY is the format.
  47.  
  48.       3 - Canadian format, DD-MM-YY    is the format.
  49.  
  50.       Remember that    the dateformat variable    controls the input
  51.       string as well as the    output string.    Also note that leading
  52.       zeros    are not    required in any    of the above formats.  For all
  53.       formats, you may also    input the date using words like
  54.       SATURDAY, YESTERDAY, TOMORROW, etc.
  55.  
  56.      EXAMPLE
  57.       SET dateformat=0    ; Use default AmigaDOS format.
  58.       DATE 1-jan-88        ; and now set the date,    using the
  59.       defined format.
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.