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: 10/13/2024 05:11:47 PM
Posted: 10/13/2024 02:31:47 PM
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: 10/14/2024 04:11:47 PM
Posted: 10/14/2024 04:11:47 PM
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.

10/14/2024 03:08:27 PM
10/14/2024 02:35:07 PM