GetYear
Returns the year value for the Time
The following example prints the current year.
JavaScript
print("The current year is " + new UtcTime().GetYear())
Lua
print("The current year is "..tostring(UtcTime().GetYear()))
Returns the year value for the Time
The following example prints the current year.
JavaScript
print("The current year is " + new UtcTime().GetYear())
Lua
print("The current year is "..tostring(UtcTime().GetYear()))