Getting date from CalendarStripe selection - peophins-plasmas/pawsome-app GitHub Wiki

To get this feature to work on the CalendarScreen page, we use the property onDateSelected. This creates a param date, which is the selected date. This selected date can be passed to a useState setting hook (setSelDate) and resets this state ('selDate' for 'selectedDate') to the selected date on the calendar. SelDate is a timestamp, which is then used to create a date string and a time string for other features.