# Assign Month to A Variable

**URL:** <https://forum.kirupa.com/t/assign-month-to-a-variable/191774>\
**Category:** Uncategorized\
**Created:** [June 22, 2006, 10:59pm UTC](https://forum.kirupa.com/t/assign-month-to-a-variable/191774 "2006-06-22T22:59:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mediumman](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mediumman/32/551_2.png) [@mediumman](https://forum.kirupa.com/u/mediumman)\
**Post date:** [June 22, 2006, 10:59pm UTC](https://forum.kirupa.com/t/assign-month-to-a-variable/191774/1 "2006-06-22T22:59:40Z")

</div>

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…
