# set-date command

The set-date BASIC program sets the
system software date, and optionally the system hardware clock.

**Synonyms:** set.date, set.dt

**For Windows:**Not Supported. Use the Windows utility
or the BIOS to set the date.

## Syntax

```
set-date mm/dd/yy{yy}
set-date dd mmm yy
```

## Description

The date displays automatically
at the TCL prompt by pressing ENTER, or CTRL+M. The time command displays the time and date.

The D3 system date is
set as a difference from the UNIX system date. Normally, the difference
is 0, making both dates equal.

CAUTION: The UNIX date
is not affected. Changing the UNIX date, however, changes the D3 system
date as well. Use the UNIX !date command to change
the UNIX date. If the virtual machine is stopped without using the shutdown command, the new time and date are lost.

## Example(s)

```
set-date 2/20/2003
```

## See also

- [admin utility](https://d3codex.com/tcl/admin-utility/)
- [set-date-eur command](https://d3codex.com/tcl/set-date-eur-command/)
- [set-date-format command](https://d3codex.com/tcl/set-date-format-command/)
- [set-date-std command](https://d3codex.com/tcl/set-date-std-command/)
- [set-time command](https://d3codex.com/tcl/set-time-command/)
- [start.rtc command](https://d3codex.com/tcl/start-rtc-command/)
- [System privileges](https://d3codex.com/definitions/system-privileges/)
- [time command](https://d3codex.com/tcl/time-command/)

---
Source: https://d3codex.com/tcl/set-date-command/ - part of the D3Codex reference.
