Skip to content

dos_time

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

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

Syntax

(dos_time [time])

Parameters

time

A list of numbers specifying the new hour and minutes in 24-hour format. Optionally, the seconds and milliseconds can be specified.

Returns

A list of numbers identifying the current hour, minutes, seconds, and milliseconds in 24-hour format if successful.

nil on error.

Example

Command: (dos_time)
(15 8 15 242)

Command: (dos_time '(16 0 0))
(16 0 0 10)

Clone this wiki locally