Hi! I have to select the previous month from a drop down. But my code seems incorrect.
And I’m using this code to get the previous month.
But I’m getting this error.
I’m getting the correct value which is June but I think it should be in upper to be selected. Can someone help me with this?
Thanks!