Populating textbox with number of days based on calendar selection

Populating textbox with number of days based on calendar selection

Hi, 

I would like to know if its possible to populate a textbox with the number of days selected using the information selected in calendar box