Calendar for Booking

For the booking process, I created a calendar that users can choose days from and which the business will be able to disable days that are booked. A calendar is a lot easier to use and more organised than let’s say a dropdown menu or an input field. The issue I am having at the moment is trying to display the result into a textbox; i.e. when a user selects a date it is shown in a textbox with the relevant month and year, so that the booking form (the date along with the rest of the booking details such as the time, # of people, user’s details etc) can be sent to a database. To be continued~