Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Sets the mission date and time.

Syntax

Syntax:setDate [year, month, day, hour, minute, timeTick]
Parameters:
  • year: Number - The year.
  • month: Number - The month.
  • day: Number - The day.
  • hour: Number - The hour.
  • minute: Number - The minute.
  • timeTick: Boolean - If set to true, stops the mission time without stopping the simulation (optional) (V3.8.1+).
Return Value:Nothing

Examples

Examples:
setDate [1986, 2, 25, 16, 0]

Additional Information

See also: date
Multiplayer:
Problems:

Notes





This command is special in that it is "smart". If you add 120 minutes, for example, it will actually advance hours by 2, and so on. --
Doolittle
18:52, 6 October 2007 (CEST)