I need to check the data in host using input date from user.
Requirement : as per user input date we need to check in host terminal before -1 date and current date and +1 date for each input.
can you please suggest the condition of logic so it need to retry with the three dates. if date 1 not there it need to search for 2nd date.
Ex : 2022-10-25 user need to check so now logic need to check before the user input date and after the user input date also 2022-10-24,2022-10-25,2022-10-26