Demo - jquery-simple-datetimepicker
Inline
Append to Input-field
Append to Input-field (Inline)
In addition, this default date has specified by the input's value ("2012-01-01 10:00").
Avaiable options
About details for these options, please see: Wiki.
Current date ("current": "2012-3-4 12:30")
dateFormat ("dateFormat": "YY/MM/DD h:m")
locale ("locale": "ja")
Available locales:
- "en" : English (default)
- "ja" : Japanese
- "ru" : Russian - Thanks to: rdolgushin
- "br" : Brazil - Thanks to: Mauricio
- "cn" : Chinese - Thanks to: jasonslyvia
- "de" : German - Thanks to: rtakeda
- "sv" : Swedish - Thanks to: MacDknife
- "id" : Bahasa Indonesia - Thanks to: robzlabz
- "tr" : Turkish - Thanks to: myfell
- "es" : Spanish - Thanks to: maw
- "ko" : Korean - Thanks to: perhapsspy
- "pt" : Portuguese - Thanks to: adc-tcarvalho
- "nl" : Dutch (Naderlands) - Thanks to: Mondane
- "cz" : Czech - Thanks to: Jan Zatloukal
- "fr" : French - Thanks to: matll42
- "it" : Italian - Thanks to: Mauro Zuccato
Change the interval of minute ("minuteInterval": 15)
Avaiable value:
min: 5, max: 30. (default: 30 minute. it means interval of each 30 minute.)
Change the first day of the week ("firstDayOfWeek": 1)
Avaiable value:
min: 0 (sunday), max: 6 (satday), default: 0 (sunday).
Thanks to: concept1hundred.
Close when selected date & time ("closeOnSelected": true) with append to Input-field mode
It's will also useful for use with two input-fields.
-
Disable the automatic scroll of time-list ("timelistScroll": false)
Disable the fade animation ("animation": false)
Disable the calendar scroll with mouse wheel ("calendarMouseScroll": false)
Disable the Today button ("todayButton": false)
Date-only mode ("dateOnly": true)
Only allow future datetimes ("futureOnly": true)