I want to write a function for React native datepicker so that i can restrict user to select to select “FromDate” higher than “ToDate” and vice-versa
First Scenario: User can select up to one month ago date from the current date. (NOTE: This is already done).