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