beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 112

background image

4-70 ROM-DOS Internal Commands

T I M E

Internal Command

The TIME command displays the current time as shown on the system’s
internal clock. Allows resetting of the clock.

Syntax

TIME [hh:mm:ss] [pm|am]

Remarks

The time set by this command is used, among other things, for time
stamping your file revision dates. This information is displayed when you
execute a directory listing of your files.

You may want to include the TIME command in your AUTOEXEC.BAT file
to set the date at boot time. If your computer has an internal, battery-
operated clock, you won’t need to do so.

The format of the time command is also dependent on the country
specified in CONFIG.SYS. The time is displayed according to local
standards for the specified country. Refer also to the

DATE

command.

If you just want to check the time maintained by ROM-DOS, enter the
TIME command alone. ROM-DOS displays something like this

Current time is 3:00:02.48p

Enter new time:_

After which you press Enter to return to an empty command line.

When you want to change the time, you can include the desired time on
the prompt line after the word TIME. Or you may enter the command with
no option (as you do to check the time) and enter the new time before
pressing Enter.