I can try to explain how it works if you really need to know, but that formula should work just the way it is without any modification.
But on second thought, the mod 12 part is unnecessary. This should work just as well:
(substring(xdDate:Today(), 6, 2) - 1) + (substring(xdDate:Today(), 6, 2) = 1) * 12