Hi kumar_arun I suggest you to go through the following link: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_date.htm https://developer.salesforce.com/forums/?id=906F00000009B3hIAE https://success.salesforce.com/answers?id=90630000000gpOuAAI http://stackoverflow.com/questions/9465900/how-do-we-get-the-first-and-last-day-of-the-current-month
I suggest you to go through the following link:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_date.htm
https://developer.salesforce.com/forums/?id=906F00000009B3hIAE
https://success.salesforce.com/answers?id=90630000000gpOuAAI
http://stackoverflow.com/questions/9465900/how-do-we-get-the-first-and-last-day-of-the-current-month
Hope this will help you.
Regards