Documentation for DATETIME DATETIME is a program that sets the date and time for any MS-DOS 2.X, 3.X computer. DATETIME prompts the user for the date and the time. These are then set using system interrupts. The advantages of DATETIME over the standard MS-DOS commands are the following: When you boot a floppy based Rainbow, setting the date and time using MSDOS commands from a batch file cause the disk to be accessed twice (The batch file is read for the Date command and again for the Time command). DATETIME will require only one command to set both the date and the time. (This might be a minor point, but I hate listening to the floppies on the Rainbow.) DATETIME creates a file called 'LASTBOOT.DAT' on the default drive. This file contains the last date and time the system was booted. These values become the new defaults. If the system is booted more than once in a day, the default for the day will be correct after the first boot. This is nice when debugging software which hangs up the system causing multiple reboots. DATETIME gives the user more flexibilty in entering the date and time. The parsing routine considers any non-numeric character a delimiter. If the end of a string is left off, the default will be used for the missing part of the string. Note - You need to enter all values up to and including the last one you want to change. The following are all legal: Valid Time Entries: 10:26 10 26 22 15.48 Invalid Time Entries: 10 pm 23 Valid Date Entries: 01/31/85 1-31-85 04 14 85 3/22 84 Invalid Date Entries: Nov 10 11//85 /23/85 Note: The first time DATETIME runs, it creates the file LASTBOOT.DAT. This file contains the time and date defaults. T. Twomey 1/31/85