For above code, i am checking if Current date is todays date and
Start date is in Past or Today,
End date is today or in Future,
then we set inactive the account.
But this query is not working.
As per this script,
If the start date is <=Today then account set to inactive.
but this script is not working, it is only working when end date is in future. If end date is today then it fails.