Html Date Input
HtmlDateTextBox()

These inputs using the HtmlDateTextBox() function in wwHtmlHelpers to auto-render either a BootStrap DateTimePicker or native controls for mobile devices (iOS and Android).

Posted: 03/27/2024 08:19:49 AM
Posted: 03/27/2024 05:39:49 AM
Bootstrap 4 DateTime Picker (manual)

These examples explicitly use a BootStrap Date Time Picker, manually assigning the value to display using Request.FormOrValue() to reassign the value.

Posted: 03/28/2024 07:19:49 AM
Posted: 03/28/2024 07:19:49 AM
Browser Native Date Control (manual)

These examples use native date controls to read and write values. Note that native date controls use ISO8601 dates to display dates which requires special parsing - note that not all browsers support native date controls (IE in particular) so this is very tricky to get to work across all browsers. I suggest you use the auto or date picker modes of HtmlDateTextBox() instead which has this logic built in.

03/28/2024 06:16:29 AM
03/28/2024 05:43:09 AM