This version is old school.
Please find jQuery plugins on npm.
jQuery Date/Time Entry
by Keith Wood
This plugin sets an input field up to accept a date/time value using a spinner or the keyboard. * Set date and/or time format, including day and/or month names. * Integrates with mousewheel plugin. * Expandable spinner for easier use. * Over 20 localisations.