home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Date(REL2) ARP User's Manual Date(REL2)
-
-
-
- NAME
- DATE - Set or display the system date.
-
- SYNOPSIS
- DATE DATE TIME TO=VER/K
-
- DESCRIPTION
- Date is used to set the systems idea of the current date and
- time, or to display the systems idea of the current date and
- time.
-
- To display the current system time simply use Date with no
- arguments. You may specify a TO or verification file to
- send the date to, if no TO file is specified, the date is
- displayed in the current window.
-
- To set the time you use the format HH:MM, where H stands for
- hours and the M stands for miuntes. The BCPL version
- required you to enter leading zero's. The ARP version is
- more intelligent, you do not have to enter leading zero's,
- but if you enjoy entering leading zeros, the ARP Date will
- accept them.
-
- Both the display of the date and the setting of the date are
- determined by the ARP environment variable 'dateformat'.
- This determines one of several international formats for
- displaying and setting the date. If 'dateformat' is not set
- or if its value is zero, the AmigaDOS version is used. Here
- is a list of the legal values for dateformat, and the
- corresponding input and output formats:
-
- 0 - This is the default AmigaDOS format, DD-MMM-YY is used
- for both input and output. Note that if datetime is
- undefined, or the value is illegal, this will be the
- default option.
-
- 1 - International format, YY-MM-DD is the format.
-
- 2 - USA format, MM-DD-YY is the format.
-
- 3 - Canadian format, DD-MM-YY is the format.
-
- Remember that the dateformat variable controls the input
- string as well as the output string. Also note that leading
- zeros are not required in any of the above formats. For all
- formats, you may also input the date using words like
- SATURDAY, YESTERDAY, TOMORROW, etc.
-
- EXAMPLE
- SET dateformat=0 ; Use default AmigaDOS format.
- DATE 1-jan-88 ; and now set the date, using the
- defined format.
-
-
-
- Page 1 (printed 2/22/88)
-
-
-
-