Talk:GetRealMonthM: Difference between revisions
Jump to navigation
Jump to search
(No difference)
|
Revision as of 14:35, 9 November 2016
Simply it can be like this (much faster): --Walid (talk)
local monthsTable = {"January","February","March","April","May","June","July","August","September","October","November","December"}
function getRealMonthName()
local time = getRealTime()
local month = time.month + 1
return monthsTable[month]
end
On more thing try to change the function name to getRealMonthName (much better)