AnsweredAssumed Answered

How to count Month start and End Date ?

Question asked by fawad001 on Aug 5, 2017
Latest reply on Oct 3, 2017 by fawad001

I have three Buttons, "Previous Month", "Current Month" and "Next Month", I want that by clicking these buttons, start and end date of months should calculate.

For Example 

When I click on "Current Month" button the start date "01/08/2017" and end date "31/08/2017" should calculate, same like that, it should work for previous and next month, for previous month the dates should be  "01/07/2017" and end date "31/07/2017" and on other, for next month it should be start date "01/09/2017" and end date "30/09/2017".


Looking forward to the answer.