Click on a Month based on user input

Hi All,

I am practising some exercise , where in I will ask the user for the day and month of travel. I will than open booking.com. Based on the user input month I will click on checkin and click the respective month and date.
I tried but I am unable to achieve it.
Can you please let me know how to select the date.
Below is the snippet of the website…

Hi Chetan1809
Below is the selector for date “Aug 14 2019”. The date (14 Aug) selector is based tablerow and tablecol. You have to calculate the two values in order to use dynamic selector.

 For check-in, use idx='1'. For check-out, use idx='2'

For date, use "<webctrl tableCol='4' tableRow='4' tag='TD' />"