Assign Month to A Variable

It seems real simple but I just can’t figure it out…I need to check for the current date and then assign a variable to that date…for example, I would find out that June is equivalent to 5 and then assign b = 5 …this way I can check back with the variable b to see if we are in June…any help would be great…