User:Scythe/Sandbox

If the year is 2011
returns the math 1+ Month # (eg: July is 06) - 04, and matches that against the database, in this case returning the correct #3. The reason it is -04 and not -03 here is because it already has a 1 from matching 2011.

If the year is not 2011
returns the math 12(year # (eg 2013 is 13)-11)+Month # -3. The reason for subtracting 11 is to determine how many years have passed since 2011. The return value is then multiplied by 12 to get a difference in number of months. The current month is then added, followed by the subtraction of 3 to offset 2011 for april.