# set-date-format command

The set-date-format command allows changing
the domestic time/date format using items from the date-format file.

**For Windows:**Not Supported

## Syntax

```
set-date-format {country.code} {(options}
```

## Parameter(s)

| country.code | Valid list of country codes: | |
| --- | --- | --- |
| us | United States. | |
| gr | German. | |
| it | Italian. | |
| sp | Spanish. | |
| uk | English/United Kingdom. | |
| options | s | Sets system date format using the item date-format in the system-config file. |
| u | Updates the item date-format in the system-config file using the specified country code. | |

## See also

- [d (date) processing code](https://d3codex.com/processingcodes/d-date-processing-code/)
- [set-date command](https://d3codex.com/tcl/set-date-command/)
- [set-date-std command](https://d3codex.com/tcl/set-date-std-command/)

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