I want to check the date if the date required is greater or less than the current date.
As current date is 05 Apr 2018
so I want to get 01 Sep 2017
. If the current date is after 01 Sep 2018
then i want 01 Sep 2018
.
Please guide me how to achieve this. Appreciated, if you could provide me guidance.