beautypg.com

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

Page 61

background image

ROM-DOS Internal Commands 4-19

D A T E

Internal Command

The DATE command displays the current date (month, day, year) as
known to ROM-DOS and also allows you to change it.

Syntax

DATE [mm-dd-yy]

DATE [mm-dd-yyyy]

Remarks

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

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

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

Refer also to the TIME command.

Example

s

When entering this command without specifying

mm-dd-yyyy, the current

date as known to ROM-DOS is displayed, and you are prompted to enter
a new date.

Current date is Sat 6-10-1989

Enter new date (mm-dd-yyyy):

If you do not want to change the date, press Enter. Otherwise, key in the
current date and press Enter.