yes, that was my mistake. GetDate(WEEK) returns the week number of the month, so it will be 4 times higher on any 4th week. It should be rewritten like this:local week = ceil(GetDate(DAY)/7)
New here? I'm Roha — want a quick tour?
yes, that was my mistake. GetDate(WEEK) returns the week number of the month, so it will be 4 times higher on any 4th week. It should be rewritten like this:local week = ceil(GetDate(DAY)/7)