Skip to content

dos_date

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Returns the current system date or changes the current system date to one specified.

Syntax

(dos_date [date])

Parameters

date

A list of numbers specifying the year (1970–3000), month (1–12), and day (1–31).

Returns

A list of numbers identifying the current year, month, and day if successful.

nil on error.

Example

Command: (dos_date)
(2006 7 14)

Command: (dos_date '(2007 7 14))
(2007 7 14)

Clone this wiki locally