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 Date().GetHours())
Lua
print("The current hour is "..tostring(Date().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 Date().GetHours())
Lua
print("The current hour is "..tostring(Date().GetHours()))