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