HI Raj !!
If this is the case then you need to store current month/year in hidden variables.
So ,now you have hidden cmonth and cyear ,now compare these two with the values entered by the client.
Hope this will help you