GetHours
Returns the hours value for the Time.
The following example prints the current hours in a day.
JavaScript
print("The current hour is " + new UtcTime().GetHours())
Lua
print("The current hour is "..tostring(UtcTime().GetHours()))
Returns the hours value for the Time.
The following example prints the current hours in a day.
JavaScript
print("The current hour is " + new UtcTime().GetHours())
Lua
print("The current hour is "..tostring(UtcTime().GetHours()))