DateTime Reference

DateTime for DataTables is a reusable component that is used by a number of other components, such as ColumnControl and Editor. It attaches to an input element and provides a UI picker allowing end users a way to quickly and easily select dates and times.

As well as in DataTables extensions, DateTime can also be used in other parts of your UI, if you wish to present a common UI for date selection. This reference section for DateTime provides full details of the options and API methods available for the library. For installation and general usage, please refer to the documentation section.

DateTime reference

Options

The DateTime component can be initialised and used on input elements separately from any DataTables usage if you wish to use it else where on your site. It provides a range of options that can be used to configure the control that it creates, from changing the date format, to including time components. The list below shows all available options - click through to each for full details. Read more »

API

The DateTime component provides a comprehensive API that can be used to get and set values in controls that use the library, and also to provide manipulation options. Please see the list below for the full set of API methods that are available, and click through to get details of each one. Read more »