Do you need it to connect to the calendar, or do you just need a date/time picker? If the latter, you can use the HTML date/time element through the form helper.
Thanks for the replies. I don’t need the calendar for what I am doing. I was hoping to tap into the functionality of the event dates where the beginning date selection would change the end date but I think I can figure that out separately.
I ran into an issue though with the Date Widget was not functioning properly when not logged in as admin. I tried on a fresh install of 9.2.0 and nothing. Turns out the JqueryUI was not loading even after including
$this->requireAsset('jquery/ui');
in the controller’s view() function.
Yesterday I found this though and it is working now.
Hopefully this will help for others who run into the same situation.
Separately but much less important: the DatePicker runs a script that takes the selected date, formats it properly, and adds it to a hidden text input field. Is there a better way (and I am sure there is) to tap into that value besides doing a setTimeout to wait for the DatePickers script to finish? This is truly not C5 related so feel free to give this the silent treatment.