SetMinutesAfterMidnight (Method)
From Legacy Roblox Wiki
Jump to navigationJump to search
SetMinutesAfterMidnight( number minutes ) | |
Returns | nil |
Description: | Sets the amount of minutes that have passed after midnight. |
Member of: | Lighting |
Example
game.Lighting:SetMinutesAfterMidnight( 840 )Which is equal to...
game.Lighting.TimeOfDay = "14:00:00"Because...
print( 840 / 60 ) --> 14