This command sets the time of day to the specified time. Time should be given as the number of days that have passed since the game started, followed by the hour, minute and second of the day.
The syntax for the settime command is as follows:
settime(Day, Hour, Minute, Seconds)
This command has the following arguments:
|Day||The day to set - e.g. 31 would set the day to day 31.|
|Hour||The hour to set - e.g. 14 would set the hour to 14 (14:00, or 2PM).|
|Minute||The minute to set - e.g. 10 would set the minutes to 10 past whatever hour it currently is (e.g. an hour of 2 and a minutes of 10 would be 14:10, or 2:10PM).|
|Seconds||The seconds to set - e.g. if the time was 14 hours and 10 minutes, a value of 25 seconds would set the time to 14:10:15 (or 10 minutes and 25 seconds past 2PM).|
Find below working examples of the settime command.
settime(42, 14, 0, 0)
This command would set the time to 2PM (14:00) on the 42nd day.
settime(10, 1, 10, 0)
This console command would set the time of day to 10 minutes past 1AM (01:10) on the 10th day.