


            Date(V1.3, 2.x, 3.x) (Locatin C:))             


     NAME
            DATE - Set or display the system date.

     SYNOPSIS
          DATE [Date] [Time] [TO=VER]

     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:SS where H 
        stands for hours, M stands for minutes, and S stands for 
        seconds.  Leading zeroes are optional for all versions 
        except 1.2.  1.2 requires that you include a leading zero 
        before the 10th month.

            Commodore has a very strict formula for the date 
        formats. If you type a two digit year from 78 to 99 
        AmigaDos will translate that as 1978 to 1999. If you type 
        a two digit number from 00 to 45 AmigaDos will translate 
        that as 2000 to 2045. You cannot enter a year from 1946 
        to 1977. 

            If you accidently set a year from 0 to 45 all files 
        created will have the datestamp from the 21st century. 
        When you finally discover your mistake, and change the 
        date back to a correct date, that file will be 
        datestamped 'Future' since the 21st century is in the 
        future.  

            Saturday, Sunday, Monday, and the rest of the days of 
        the week can be used as flags. The system will evaluate 
        the day then advance the system date to match the 
        specified day of the week. So, if it is Monday and you 
        specify Thursday, the system clock will advance by three 
        days.

            FOR 1.3 Only:  SETCLOCK is used in the 
        startup-sequence to automatically read the system's 
        hardware clock (if present).  The A1000 and A500 did not 
        come with a clock installed.  Therefor, AmigaDOS would 
        check the boot disk for the date of most recent file and 
        sets the system date according to that.  The Date command 
        is then used to set the proper date and time.  This was 
        lost anytime you rebooted the computer or utilized the 
        SETCLOCK SAVE command.

            FOR 2.x/3.x: The clock is read automatically by the 
        system without utilizing the SETCLOCK command. Therefor, 
        you will never see it listed anywhere.



     EXAMPLES
            1. To use default AmigaDOS format.

                 SET dateformat=0   

            2. To set the date, using AmigaDOS format

                 Date 1-jan-88  


            3. To set the date to the next day's date and the 
        time to 12:00

                  Date Tomorrow 12:00 

