This command sets the time to the specified hour and (optionally) minute. 23 would set the time to 11PM, 1 would set the time to 1AM.
The syntax for the settime command is as follows:
settime [(hours, minutes)]
This command has the following arguments:
|(Hours, Minutes)||If you just wish to change the current hour in the game (e.g. set the time to exactly 2PM, or another exact hour), specify the time as the number that would appear on a 24 hour clock here (2PM would be settime 14). If you wish to also set the minutes of the time (e.g. set the time to 2:35PM, not just 2PM), specify the time in the following format: (Hours, Minutes) - replacing hours with the hour and minutes with the hour - 2:35PM would be settime (2,35).|
Find below working examples of the settime command.
This command sets the time to 3AM.
This command sets the time to 3PM (15:00).
settime (15, 45)
This command sets the time to 45 minutes past 3PM (15:45).