https://github.com/xdan/datetimepicker
jQuery Plugin Date and Time Picker
https://github.com/xdan/datetimepicker
datepicker datetimepicker javascript jquery jquery-plugin picker timepicker
Last synced: 7 days ago
JSON representation
jQuery Plugin Date and Time Picker
- Host: GitHub
- URL: https://github.com/xdan/datetimepicker
- Owner: xdan
- License: mit
- Created: 2013-11-03T10:10:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-03-04T07:43:47.000Z (about 1 month ago)
- Last Synced: 2025-04-01T19:06:33.705Z (14 days ago)
- Topics: datepicker, datetimepicker, javascript, jquery, jquery-plugin, picker, timepicker
- Language: JavaScript
- Homepage: https://xdsoft.net/jqplugins/datetimepicker/
- Size: 1.67 MB
- Stars: 3,499
- Watchers: 158
- Forks: 1,505
- Open Issues: 422
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
- awesome-github-star - datetimepicker
README
> [!IMPORTANT]
> **Contributing & Maintenance**
>
> If you would like to help maintain this plugin, please email me at [[email protected]](mailto:[email protected]). I can grant you access to the npm package and the GitHub repository.Please note that I am no longer using jQuery, so I cannot offer full support for it.
# jQuery DateTimePicker
[Demo and Documentation](https://xdsoft.net/jqplugins/datetimepicker/)[](https://travis-ci.org/xdan/datetimepicker)
[](https://badge.fury.io/js/jquery-datetimepicker)
[](https://www.npmjs.com/package/jquery-datetimepicker)PLEASE. Help me update the documentation.
[Doc.tpl](https://github.com/xdan/datetimepicker/blob/master/doc.tpl)
This file will be automatically displayed on the site# Installation
```bash
npm install jquery-datetimepicker
```
OR
```bash
yarn add jquery-datetimepicker
```
or download [zip](https://github.com/xdan/datetimepicker/releases)
# datetimepicker
==============**!!! In the latest version the 'lang' option is obsolete. The language setting is now global. !!!**
Use this:
```javascript
jQuery.datetimepicker.setLocale('en');
```
[Documentation][doc]jQuery Plugin Date and Time Picker
DateTimePicker

DatePicker

TimePicker

Options to highlight individual dates or periods



[doc]: https://xdsoft.net/jqplugins/datetimepicker/
### JS Build help
**Requires Node and NPM** [Download and install node.js](http://nodejs.org/download/).
Install:
1. Install `bower` globally with `npm install -g bower`.
2. Run `npm install`. npm will look at `package.json` and automatically install the necessary dependencies.
3. Run `bower install`, which installs front-end packages defined in `bower.json`.Notice: If you use Bower v1.5.2, you will get the error: `The "main" field cannot contain minified files`
You can regress to version 1.3.121. `npm uninstall bower -g`
2. `npm install -g [email protected]`Build:
First install npm requirements: `npm install -g uglifycss concat-cli`
Then build the files: `npm run build`When the build completes, you'll have the following files:
- **build/jquery.datetimepicker.full.js** - browser file
- **build/jquery.datetimepicker.full.min.js** - browser minified file
- **build/jquery.datetimepicker.min.js** - amd module style minified file