How do I convert a month string to integer?
On click method I want to display the date which is selected but if the date has an event it should display something mo
There are only 12 month, so just normalize the string and just do string comparison. I wouldn't try to over-optimize.