t i 7-14 AmigaDOS and the CLI \ i "datefile" in your current directory. - v ( This command creates (or overwrites, if the file already exists) a file named Execute this command, so you can use the datefile in the next example. this command.) I i [ (Make sure you leave one space before and after the > symbol when you type DATE > datefile I \ Here's an example: The > symbol tells AmigaDOS to send the output toward the output file name. \ [ used this command, to redirect the date ouput into a file to demonstrate the L \ PROTECT command. the system puts the output by using the redirect command, >. We've already \ ! Normally, the output of all commands goes to the screen.
You can change where To try this command, insert your Workbench disk into drive 0. Redirecting the Output of a Command , CLI window to activate it after you remove the clock by clicking on its quit gadget. from Workbench now to check the new time setting. Remember to click in the \ f Now the system clock counts up from this time and date. Load the clock tool date and time are returned. \ \ If you just enter DATE with no additional information, the current values for DATE 12:00:00 01 -apr-87 )i two digits for year). Enter the time in the format HH:MM:SS, with seconds being v / optional. Try an example of setting the clock: You can set the AmigaDOS clock by using the DATE command.
Enter the date in the format DD-MMM-YY (two digits for date, three letters for month, and *. j Setting the Date and Time