datatables.net-datetime
Version:
DateTime picker for DataTables.net
29 lines (19 loc) • 603 B
text/xml
<dt-example table-type="html" table-class="display nowrap" order="6">
<css lib="datetime"/>
<js lib="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"/>
<js lib="datatables datetime">
<![CDATA[
new DateTime(document.getElementById('test'), {
format: 'D MMM YYYY HH:mm'
});
]]>
</js>
<title lib="DateTime">Date and time</title>
<info><![CDATA[
This example shows the date / time input used for both date and time inputs.
]]></info>
<custom-table>
<input id="test" type="text" value="30 Jan 2026 12:19" />
</custom-table>
</dt-example>