A Date Plus Time picker inside a dialog. Click the open dialog button to open the modal dialog. Use the get buttons to retrieve what is selected in the picker.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
// in dialog dateplustimepicker and its buttons
$('#displayDialog-button').button();
$('#displayDialog-button').click(function() {
$('#dialog').dialog('open');
// prevent datepicker appearing opened because it gains focus
$('#datetime').blur();
setTimeout(function() {
$.datepicker._hideDatepicker();
}, 300);
});
$('#getDatetime-button').button();
$('#getDatetime-button').click(function() {
var date = $('#indialog-dateplustimepicker').dateplustimepicker('getDateTime');
if (date!==null) {
$('#datetime-display').html('<strong>Datetime: </strong><i>' + date.toString() + '</i>');
}
else {
$('#datetime-display').html('Nothing selected yet. Open modal dialog and choose a datetime.');
}
});
$('#getTime-button').button();
$('#getTime-button').click(function() {
var time = $('#indialog-dateplustimepicker').dateplustimepicker('getTime');
if (time!==null) {
$('#datetime-display').html('<strong>Time: </strong><i>' + time.formatTime('hh:mmtt') + '</i>');
}
else {
$('#datetime-display').html('Nothing selected yet. Open modal dialog and choose a datetime.');
}
});
$('#getDate-button').button();
$('#getDate-button').click(function() {
var date = $('#indialog-dateplustimepicker').dateplustimepicker('getDate');
if (date!==null) {
$('#datetime-display').html('<strong>Datetime: </strong><i>' + date.toString() + '</i>');
}
else {
$('#datetime-display').html('Nothing selected yet. Open modal dialog and choose a datetime.');
}
});
$('#indialog-dateplustimepicker').dateplustimepicker({
timeFormat: 'hh:mmtt',
altField: '#testAlt',
altTimeFormat: 'h:m',
defaultTime: 0,
minTime: 0,
maxTime: { hours: 24 },
step: { minutes: 15 },
show: 'fold',
showButtonPanel: true
});
});
</script>
</head>
<body style="font-size:62.5%;">
<p>A Date Plus Time picker inside a dialog. Click the open dialog button to open the modal dialog. Use the get buttons to retrieve what is selected in the picker.</p>
<button type="button" id="displayDialog-button">Open Dialog</button>
<button type="button" id="getDate-button">Get Date</button>
<button type="button" id="getTime-button">Get Time</button>
<button type="button" id="getDatetime-button">Get Date and Time</button>
<br /><br /><label id="datetime-display"></label>
<div id="dialog">
<label for="indialog-dateplustimepicker"><strong>Datetime:</strong></label><br /><input id="indialog-dateplustimepicker" name="indialog-dateplustimepicker" />
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$('#inline-dateplustimepicker').dateplustimepicker({
timeFormat: 'hh:mm:ss'
});
});
</script>
</head>
<body style="font-size:62.5%;">
<div id="inline-dateplustimepicker"></div>
</body>
</html>
A Date Plus Time picker can be configured with time limits. In this demo the min time is 8:30am and max time is 8:00pm so you can't select times outside that range.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$('#limit-dateplustimepicker').dateplustimepicker({
minTime: { hours: 8, minutes: 30 },
maxTime: { hours: 20 }
});
});
</script>
</head>
<body style="font-size:62.5%;">
<p>A Date Plus Time picker can be configured with time limits. In this demo the min time is 8:30am and max time is 8:00pm so you can't select times outside that range.</p>
<input type="text" id="limit-dateplustimepicker" name="limit-dateplustimepicker" />
</body>
</html>
A Date Plus Time picker can be configured with a step. When step is configured you can select times only in steps from min time to max time. In this demo the step is 1hour 5minutes and 30seconds, min time is 9:00:00 and max time is 15:00:00 so the allowed values are 9:00:00, 10:05:30, 11:11:00, 12:16:30, 13:22:00, 14:27:30.
I have chosen for the demo such a step so you can see how it works. Normally the step would be something more intuitive like 15min.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$('#step-dateplustimepicker').dateplustimepicker({
timeFormat: 'hh:mm:ss',
minTime: { hours: 9 },
maxTime: { hours: 15 },
step: { hours: 1, minutes: 5, seconds: 30 }
});
});
</script>
</head>
<body style="font-size:62.5%;">
<p>A Date Plus Time picker can be configured with a step. When step is configured you can select times only in steps from min time to max time. In this demo the step is 1hour 5minutes and 30seconds, min time is 9:00:00 and max time is 15:00:00 so the allowed values are 9:00:00, 10:05:30, 11:11:00, 12:16:30, 13:22:00, 14:27:30.</p>
<p>I have chosen for the demo such a step so you can see how it works. Normally the step would be something more intuitive like 15min.</p>
<input type="text" id="step-dateplustimepicker" name="step-dateplustimepicker" />
</body>
</html>
When the picker show multiple months, the time is shown once behind all months.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$('#multimonth-dateplustimepicker').dateplustimepicker({
numberOfMonths: 2
});
});
</script>
</head>
<body style="font-size:62.5%;">
<p>When the picker show multiple months, the time is shown once behind all months.</p>
<input type="text" id="multimonth-dateplustimepicker" name="multimonth-dateplustimepicker" />
</body>
</html>
Show a grid under the hours, minutes or seconds sliders.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$('#grid-dateplustimepicker').dateplustimepicker({
hourGrid: 4,
minuteGrid: 10,
secondGrid: 10
});
});
</script>
</head>
<body style="font-size:62.5%;">
<p>Show a grid under the hours, minutes or seconds sliders.</p>
<input type="text" id="grid-dateplustimepicker" name="grid-dateplustimepicker" />
</body>
</html>
Configure the format in which you want to display the time.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$('#format-dateplustimepicker').dateplustimepicker();
$('#format-switcher').change(function(){
var format = $('option:selected', this).val();
$('#format-dateplustimepicker').dateplustimepicker('option', 'timeFormat', format);
});
});
</script>
</head>
<body style="font-size:62.5%;">
<p>Configure the format in which you want to display the time.</p>
<input type="text" id="format-dateplustimepicker" name="format-dateplustimepicker" />
<select id="format-switcher">
<option value="hh:mm tt">Default format (12hours) - hh:mm tt</option>
<option value="Thh:mm">Prev 12hours - Thh:mm</option>
<option value="hh:mm:ss">24hours format - hh:mm:ss</option>
<option value="h:m">No leading 0 - h:m</option>
<option value="mm:ss">No hours - mm:ss</option>
</select>
</body>
</html>
A picker with time selection only.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$('#timeonly-dateplustimepicker').dateplustimepicker({
timeOnly: true
});
});
</script>
</head>
<body style="font-size:62.5%;">
<p>A picker with time selection only.</p>
<input type="text" id="timeonly-dateplustimepicker" name="timeonly-dateplustimepicker" />
</body>
</html>
As date picker you can use an alternative field to display the datetime in a different format. Use altTimeFormat to define the alternative time format.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$('#withalt-dateplustimepicker').dateplustimepicker({
altField: '#withalt-dateplustimepicker-altField',
altFormat: 'D, dd M yy',
altTimeFormat: 'hh:mm TT'
});
});
</script>
</head>
<body style="font-size:62.5%;">
<p>As date picker you can use an alternative field to display the datetime in a different format. Use altTimeFormat to define the alternative time format.</p>
<label for="withalt-dateplustimepicker">Datetime:</label>
<input type="text" size="25" id="withalt-dateplustimepicker" name="withalt-dateplustimepicker" />
<label for="withalt-dateplustimepicker-altField">In alt format:</label>
<input type="text" size="25" id="withalt-dateplustimepicker-altField" name="withalt-dateplustimepicker-altField" />
</body>
</html>
You can configure an alternative field to show the time with the altTimeField option.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$('#withAltTime-dateplustimepicker').dateplustimepicker({
altTimeField: '#withAltTime-dateplustimepicker-alt',
dateFormat: 'D, dd M yy',
timeFormat: 'hh:mmTT'
});
});
</script>
</head>
<body style="font-size:62.5%;">
<p>You can configure an alternative field to show the time with the altTimeField option.</p>
<label for="withAltTime-dateplustimepicker">Date:</label>
<input type="text" id="withAltTime-dateplustimepicker" name="withAltTime-dateplustimepicker" />
<label for="withAltTime-dateplustimepicker-alt">Time:</label>
<input type="text" id="withAltTime-dateplustimepicker-alt" name="withAltTime-dateplustimepicker-alt" />
</body>
</html>
The jQuery Dateplustimepicker is a highly configurable plugin that extends datepicker adding date and time picker functionality to your pages. You can customize the date/time format and language, restrict the selectable date/time ranges and add in buttons and other navigation options easily.
By default, the dateplustimepicker calendar opens in a small overlay onFocus and closes automatically onBlur. For an inline calendar, simply attach the dateplustimepicker to a div or span.
You can use keyboard shortcuts provided by datepicker to drive the date:
If you need date functions you can use those ones provided by datepicker
Dateplustimepicker provides support for localizing its content to cater for different languages and time formats. Each localization is contained within its own file with the language code appended to the name, e.g. jquery.dateplustimepicker-es.js for Spanish. The desired localization file should be include after the main dateplustimepicker code. They add their settings to the set of available localizations and automatically apply them as defaults for all instances.
The $.dateplustimepicker.regional attribute holds an array of localizations, indexed by language code, with '' referring to the default (English). Each entry is an object with the following attributes: currentText, hourText, minuteText, secondText, timeFormat, timeOnlyTitle and timeText.
You can restore the default localizations with:
$.dateplustimepicker.setDefaults($.dateplustimepicker.regional['']);
And can then override an individual dateplustimepicker for a specific locale:
$(selector).dateplustimepicker($.dateplustimepicker.regional['es']);
To localize the date use datetimepicker localization files.
Datepicker provides support for localizing its content to cater for different languages and date formats. Each localization is contained within its own file with the language code appended to the name, e.g. jquery.ui.datepicker-fr.js for French. The desired localization file should be include after the main datepicker code. They add their settings to the set of available localizations and automatically apply them as defaults for all instances.
The $.datepicker.regional attribute holds an array of localizations, indexed by language code, with '' referring to the default (English). Each entry is an object with the following attributes: closeText, prevText, nextText, currentText, monthNames, monthNamesShort, dayNames, dayNamesShort, dayNamesMin, weekHeader, dateFormat, firstDay, isRTL, showMonthAfterYear and yearSuffix.
You can restore the default localizations with:
$.datepicker.setDefaults($.datepicker.regional['']);
And can then override an individual dateplustimepicker for a specific locale:
$(selector).datepicker($.datepicker.regional['fr']);
The localization files are also available in the UI svn: http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/
A simple jQuery Date Plus Time picker.
$("#dateplustimepicker").dateplustimepicker();
<!DOCTYPE html>
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="jquery-dateplustimepicker.min.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="jquery-dateplustimepicker.min.js"></script>
<script>
$(document).ready(function() {
$("#dateplustimepicker").dateplustimepicker();
});
</script>
</head>
<body style="font-size:62.5%;">
<div type="text" id="dateplustimepicker"></div>
</body>
</html>
* Some options are inherited from datepicker.
The jQuery selector for another field that is to be updated with the selected time from the dateplustimepicker. Use the timeFormat setting to change the format of the time within this field. Leave as blank for no alternate time field.
$(".selector").dateplustimepicker({ altTimeField: '#actualTime' });
//getter
var altTimeField = $(".selector").dateplustimepicker( "option", "altTimeField" );
//setter
$(".selector").dateplustimepicker( "option", "altTimeField", "#actualTime" );
The timeFormat to be used for the altField option. This allows one time format to be shown to the user for selection purposes, while a different format is actually sent behind the scenes. For a full list of the possible formats see the timeFormat attribute.
$(".selector").dateplustimepicker({ altTimeFormat: 'hh:mm TT' });
//getter
var altTimeFormat = $(".selector").dateplustimepicker( "option", "altTimeFormat" );
//setter
$(".selector").dateplustimepicker( "option", "altTimeFormat", 'hh:mm TT' );
Set the time to set on first opening if the field is blank. Specify either an actual time via a Time object or as a number of seconds.
$(".selector").dateplustimepicker({ defaultTime: { hours: 15 } });
//getter
var defaultTime = $(".selector").dateplustimepicker( "option", "defaultTime" );
//setter
$(".selector").dateplustimepicker( "option", "defaultTime", {
hours: 10,
minutes: 15,
seconds: 30 } );
You can enable a grid behind the hours slider. This value sets the step for the grid. If its value is 0, no grid would be displayed.
$(".selector").dateplustimepicker({ hourGrid: 4 });
//getter
var hourGrid = $(".selector").dateplustimepicker( "option", "hourGrid" );
//setter
$(".selector").dateplustimepicker( "option", "hourGrid", 4 );
The text to display as label for the hours slider. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ hourText: 'horas' });
//getter
var hourText = $(".selector").dateplustimepicker( "option", "hourText" );
//setter
$(".selector").dateplustimepicker( "option", "hourText", 'horas' );
Set a maximum selectable time via a Time object or as a number of seconds. The Time object can be specified with hours and/or minutes and/seconds.
$(".selector").dateplustimepicker({ maxTime: { hours: 18, minutes: 30 } });
//getter
var maxTime = $(".selector").dateplustimepicker( "option", "maxTime" );
//setter
$(".selector").dateplustimepicker( "option", "maxTime", { hours: 20 } );
Set a minimum selectable time via a Time object or as a number of seconds. The Time object can be specified with hours and/or minutes and/seconds.
$(".selector").dateplustimepicker({ minTime: { hours: 9 } });
//getter
var minTime = $(".selector").dateplustimepicker( "option", "minTime" );
//setter
$(".selector").dateplustimepicker( "option", "minTime", 0 );
You can enable a grid behind the minutes slider. This value sets the step for the grid. If its value is 0, no grid would be displayed.
$(".selector").dateplustimepicker({ minuteGrid: 10 });
//getter
var minuteGrid = $(".selector").dateplustimepicker( "option", "minuteGrid" );
//setter
$(".selector").dateplustimepicker( "option", "minuteGrid", 10 );
The text to display as label for the minutes slider. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ minuteText: 'minutos' });
//getter
var minuteText = $(".selector").dateplustimepicker( "option", "minuteText" );
//setter
$(".selector").dateplustimepicker( "option", "minuteText", 'minutos' );
You can enable a grid behind the seconds slider. This value sets the step for the grid. If its value is 0, no grid would be displayed.
$(".selector").dateplustimepicker({ secondGrid: 15 });
//getter
var secondGrid = $(".selector").dateplustimepicker( "option", "secondGrid" );
//setter
$(".selector").dateplustimepicker( "option", "secondGrid", 15 );
The text to display as label for the seconds slider. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ secondText: 'segundos' });
//getter
var secondText = $(".selector").dateplustimepicker( "option", "secondText" );
//setter
$(".selector").dateplustimepicker( "option", "secondText", 'segundos' );
Enables (true) or disables (false) the time display above the sliders.
$(".selector").dateplustimepicker({ showTime: true });
//getter
var showTime = $(".selector").dateplustimepicker( "option", "showTime" );
//setter
$(".selector").dateplustimepicker( "option", "showTime", true );
Set a step to configure the allowed selectable time via a Time object or as a number of seconds. The Time object can be specified with hours and/or minutes and/seconds. When step is configured you can select times only in steps from min time to max time.
$(".selector").dateplustimepicker({ step: { minutes: 30 } });
//getter
var step = $(".selector").dateplustimepicker( "option", "step" );
//setter
$(".selector").dateplustimepicker( "option", "step", { hours: 2 } );
The timeFormat to be used for the dateplustimepicker. This attribute is one of the regionalisation attributes. The format can be combinations of the following:
Allowed separator characters ':' or '.' Optional t|tt|T|TT separator ' '
$(".selector").dateplustimepicker({ timeFormat: 'hh:mm tt' });
//getter
var timeFormat = $(".selector").dateplustimepicker( "option", "timeFormat" );
//setter
$(".selector").dateplustimepicker( "option", "timeFormat", 'hh:mm:ss' );
Configure an only time picker (true) or a date and time picker (false).
$(".selector").dateplustimepicker({ timeOnly: true });
//getter
var timeOnly = $(".selector").dateplustimepicker( "option", "timeOnly" );
//setter
$(".selector").dateplustimepicker( "option", "timeOnly", true );
Text to display as the title for an only time picker. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ timeOnlyTitle: 'Selecciona la Hora' });
//getter
var timeOnlyTitle = $(".selector").dateplustimepicker( "option", "timeOnlyTitle" );
//setter
$(".selector").dateplustimepicker( "option", "timeOnlyTitle", 'Selecciona la Hora' );
The text to display as label for the time display. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ timeText: 'Hora' });
//getter
var timeText = $(".selector").dateplustimepicker( "option", "timeText" );
//setter
$(".selector").dateplustimepicker( "option", "timeText", 'Hora' );
Disables (true) or enables (false) the dateplustimepicker. Can be set when initialising (first creating) the dateplustimepicker.
$(".selector").dateplustimepicker({ disabled: true });
//getter
var disabled = $(".selector").dateplustimepicker( "option", "disabled" );
//setter
$(".selector").dateplustimepicker( "option", "disabled", true );
The jQuery selector for another field that is to be updated with the selected date from the dateplustimepicker. Use the altFormat setting to change the format of the date within this field. Leave as blank for no alternate field.
$(".selector").dateplustimepicker({ altField: '#actualDate' });
//getter
var altField = $(".selector").dateplustimepicker( "option", "altField" );
//setter
$(".selector").dateplustimepicker( "option", "altField", '#actualDate' );
The dateFormat to be used for the altField option. This allows one date format to be shown to the user for selection purposes, while a different format is actually sent behind the scenes. For a full list of the possible formats see the formatDate function
$(".selector").dateplustimepicker({ altFormat: 'yy-mm-dd' });
//getter
var altFormat = $(".selector").dateplustimepicker( "option", "altFormat" );
//setter
$(".selector").dateplustimepicker( "option", "altFormat", 'yy-mm-dd' );
The text to display after each date field, e.g. to show the required format.
$(".selector").dateplustimepicker({ appendText: '(yyyy-mm-dd)' });
//getter
var appendText = $(".selector").dateplustimepicker( "option", "appendText" );
//setter
$(".selector").dateplustimepicker( "option", "appendText", '(yyyy-mm-dd)' );
Set to true to automatically resize the input field to accomodate dates in the current dateFormat.
$(".selector").dateplustimepicker({ autoSize: true });
//getter
var autoSize = $(".selector").dateplustimepicker( "option", "autoSize" );
//setter
$(".selector").dateplustimepicker( "option", "autoSize", true );
The URL for the popup button image. If set, buttonText becomes the alt value and is not directly displayed.
$(".selector").dateplustimepicker({ buttonImage: '/images/dateplustimepicker.gif' });
//getter
var buttonImage = $(".selector").dateplustimepicker( "option", "buttonImage" );
//setter
$(".selector").dateplustimepicker( "option", "buttonImage", '/images/dateplustimepicker.gif' );
Set to true to place an image after the field to use as the trigger without it appearing on a button.
$(".selector").dateplustimepicker({ buttonImageOnly: true });
//getter
var buttonImageOnly = $(".selector").dateplustimepicker( "option", "buttonImageOnly" );
//setter
$(".selector").dateplustimepicker( "option", "buttonImageOnly", true );
The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'.
$(".selector").dateplustimepicker({ buttonText: 'Choose' });
//getter
var buttonText = $(".selector").dateplustimepicker( "option", "buttonText" );
//setter
$(".selector").dateplustimepicker( "option", "buttonText", 'Choose' );
A function to calculate the week of the year for a given date. The default implementation uses the ISO 8601 definition: weeks start on a Monday; the first week of the year contains the first Thursday of the year.
$(".selector").dateplustimepicker({ calculateWeek: myWeekCalc });
//getter
var calculateWeek = $(".selector").dateplustimepicker( "option", "calculateWeek" );
//setter
$(".selector").dateplustimepicker( "option", "calculateWeek", myWeekCalc );
Allows you to change the month by selecting from a drop-down list. You can enable this feature by setting the attribute to true.
$(".selector").dateplustimepicker({ changeMonth: true });
//getter
var changeMonth = $(".selector").dateplustimepicker( "option", "changeMonth" );
//setter
$(".selector").dateplustimepicker( "option", "changeMonth", true );
Allows you to change the year by selecting from a drop-down list. You can enable this feature by setting the attribute to true. Use the yearRange option to control which years are made available for selection.
$(".selector").dateplustimepicker({ changeYear: true });
//getter
var changeYear = $(".selector").dateplustimepicker( "option", "changeYear" );
//setter
$(".selector").dateplustimepicker( "option", "changeYear", true );
The text to display for the close link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.
$(".selector").dateplustimepicker({ closeText: 'X' });
//getter
var closeText = $(".selector").dateplustimepicker( "option", "closeText" );
//setter
$(".selector").dateplustimepicker( "option", "closeText", 'X' );
When true entry in the input field is constrained to those characters allowed by the current dateFormat.
$(".selector").dateplustimepicker({ constrainInput: false });
//getter
var constrainInput = $(".selector").dateplustimepicker( "option", "constrainInput" );
//setter
$(".selector").dateplustimepicker( "option", "constrainInput", false );
The text to display for the current day link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.
$(".selector").dateplustimepicker({ currentText: 'Now' });
//getter
var currentText = $(".selector").dateplustimepicker( "option", "currentText" );
//setter
$(".selector").dateplustimepicker( "option", "currentText", 'Now' );
The format for parsed and displayed dates. This attribute is one of the regionalisation attributes. For a full list of the possible formats see the formatDate function.
$(".selector").dateplustimepicker({ dateFormat: 'yy-mm-dd' });
//getter
var dateFormat = $(".selector").dateplustimepicker( "option", "dateFormat" );
//setter
$(".selector").dateplustimepicker( "option", "dateFormat", 'yy-mm-dd' );
The list of long day names, starting from Sunday, for use as requested via the dateFormat setting. They also appear as popup hints when hovering over the corresponding column headings. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ dayNames: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'] });
//getter
var dayNames = $(".selector").dateplustimepicker( "option", "dayNames" );
//setter
$(".selector").dateplustimepicker( "option", "dayNames", ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'] );
The list of minimised day names, starting from Sunday, for use as column headers within the dateplustimepicker. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ dayNamesMin: ['Di', 'Lu', 'Ma', 'Me', 'Je', 'Ve', 'Sa'] });
//getter
var dayNamesMin = $(".selector").dateplustimepicker( "option", "dayNamesMin" );
//setter
$(".selector").dateplustimepicker( "option", "dayNamesMin", ['Di', 'Lu', 'Ma', 'Me', 'Je', 'Ve', 'Sa'] );
The list of abbreviated day names, starting from Sunday, for use as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ dayNamesShort: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'] });
//getter
var dayNamesShort = $(".selector").dateplustimepicker( "option", "dayNamesShort" );
//setter
$(".selector").dateplustimepicker( "option", "dayNamesShort", ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'] );
Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +7d'), or null for today.
$(".selector").dateplustimepicker({ defaultDate: +7 });
//getter
var defaultDate = $(".selector").dateplustimepicker( "option", "defaultDate" );
//setter
$(".selector").dateplustimepicker( "option", "defaultDate", +7 );
Control the speed at which the dateplustimepicker appears, it may be a time in milliseconds or a string representing one of the three predefined speeds ("slow", "normal", "fast").
$(".selector").dateplustimepicker({ duration: 'slow' });
//getter
var duration = $(".selector").dateplustimepicker( "option", "duration" );
//setter
$(".selector").dateplustimepicker( "option", "duration", 'slow' );
Set the first day of the week: Sunday is 0, Monday is 1, ... This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ firstDay: 1 });
//getter
var firstDay = $(".selector").dateplustimepicker( "option", "firstDay" );
//setter
$(".selector").dateplustimepicker( "option", "firstDay", 1 );
When true the current day link moves to the currently selected date instead of today.
$(".selector").dateplustimepicker({ gotoCurrent: true });
//getter
var gotoCurrent = $(".selector").dateplustimepicker( "option", "gotoCurrent" );
//setter
$(".selector").dateplustimepicker( "option", "gotoCurrent", true );
Normally the previous and next links are disabled when not applicable (see minDate/maxDate). You can hide them altogether by setting this attribute to true.
$(".selector").dateplustimepicker({ hideIfNoPrevNext: true });
//getter
var hideIfNoPrevNext = $(".selector").dateplustimepicker( "option", "hideIfNoPrevNext" );
//setter
$(".selector").dateplustimepicker( "option", "hideIfNoPrevNext", true );
True if the current language is drawn from right to left. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ isRTL: true });
//getter
var isRTL = $(".selector").dateplustimepicker( "option", "isRTL" );
//setter
$(".selector").dateplustimepicker( "option", "isRTL", true );
Set a maximum selectable date via a Date object or as a string in the current dateFormat, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +1w'), or null for no limit.
$(".selector").dateplustimepicker({ maxDate: '+1m +1w' });
//getter
var maxDate = $(".selector").dateplustimepicker( "option", "maxDate" );
//setter
$(".selector").dateplustimepicker( "option", "maxDate", '+1m +1w' );
Set a minimum selectable date via a Date object or as a string in the current dateFormat, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '-1y -1m'), or null for no limit.
$(".selector").dateplustimepicker({ minDate: new Date(2007, 1 - 1, 1) });
//getter
var minDate = $(".selector").dateplustimepicker( "option", "minDate" );
//setter
$(".selector").dateplustimepicker( "option", "minDate", new Date(2007, 1 - 1, 1) );
The list of full month names, for use as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ monthNames: ['Januar','Februar','Marts','April','Maj','Juni','Juli','August','September','Oktober','November','December'] });
//getter
var monthNames = $(".selector").dateplustimepicker( "option", "monthNames" );
//setter
$(".selector").dateplustimepicker( "option", "monthNames", ['Januar','Februar','Marts','April','Maj','Juni','Juli','August','September','Oktober','November','December'] );
The list of abbreviated month names, as used in the month header on each dateplustimepicker and as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec'] });
//getter
var monthNamesShort = $(".selector").dateplustimepicker( "option", "monthNamesShort" );
//setter
$(".selector").dateplustimepicker( "option", "monthNamesShort", ['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec'] );
When true the formatDate function is applied to the prevText, nextText, and currentText values before display, allowing them to display the target month names for example.
$(".selector").dateplustimepicker({ navigationAsDateFormat: true });
//getter
var navigationAsDateFormat = $(".selector").dateplustimepicker( "option", "navigationAsDateFormat" );
//setter
$(".selector").dateplustimepicker( "option", "navigationAsDateFormat", true );
The text to display for the next month link. This attribute is one of the regionalisation attributes. With the standard ThemeRoller styling, this value is replaced by an icon.
$(".selector").dateplustimepicker({ nextText: 'Later' });
//getter
var nextText = $(".selector").dateplustimepicker( "option", "nextText" );
//setter
$(".selector").dateplustimepicker( "option", "nextText", 'Later' );
Set how many months to show at once. The value can be a straight integer, or can be a two-element array to define the number of rows and columns to display.
$(".selector").dateplustimepicker({ numberOfMonths: [2, 3] });
//getter
var numberOfMonths = $(".selector").dateplustimepicker( "option", "numberOfMonths" );
//setter
$(".selector").dateplustimepicker( "option", "numberOfMonths", [2, 3] );
The text to display for the previous month link. This attribute is one of the regionalisation attributes. With the standard ThemeRoller styling, this value is replaced by an icon.
$(".selector").dateplustimepicker({ prevText: 'Earlier' });
//getter
var prevText = $(".selector").dateplustimepicker( "option", "prevText" );
//setter
$(".selector").dateplustimepicker( "option", "prevText", 'Earlier' );
When true days in other months shown before or after the current month are selectable. This only applies if showOtherMonths is also true.
$(".selector").dateplustimepicker({ selectOtherMonths: true });
//getter
var selectOtherMonths = $(".selector").dateplustimepicker( "option", "selectOtherMonths" );
//setter
$(".selector").dateplustimepicker( "option", "selectOtherMonths", true );
Set the cutoff year for determining the century for a date (used in conjunction with dateFormat 'y'). If a numeric value (0-99) is provided then this value is used directly. If a string value is provided then it is converted to a number and added to the current year. Once the cutoff year is calculated, any dates entered with a year value less than or equal to it are considered to be in the current century, while those greater than it are deemed to be in the previous century.
$(".selector").dateplustimepicker({ shortYearCutoff: 50 });
//getter
var shortYearCutoff = $(".selector").dateplustimepicker( "option", "shortYearCutoff" );
//setter
$(".selector").dateplustimepicker( "option", "shortYearCutoff", 50 );
Set the name of the animation used to show/hide the dateplustimepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide jQuery UI effects, or '' for no animation.
$(".selector").dateplustimepicker({ showAnim: 'fold' });
//getter
var showAnim = $(".selector").dateplustimepicker( "option", "showAnim" );
//setter
$(".selector").dateplustimepicker( "option", "showAnim", 'fold' );
Whether to show the button panel.
$(".selector").dateplustimepicker({ showButtonPanel: true });
//getter
var showButtonPanel = $(".selector").dateplustimepicker( "option", "showButtonPanel" );
//setter
$(".selector").dateplustimepicker( "option", "showButtonPanel", true );
Specify where in a multi-month display the current month shows, starting from 0 at the top/left.
$(".selector").dateplustimepicker({ showCurrentAtPos: 3 });
//getter
var showCurrentAtPos = $(".selector").dateplustimepicker( "option", "showCurrentAtPos" );
//setter
$(".selector").dateplustimepicker( "option", "showCurrentAtPos", 3 );
Whether to show the month after the year in the header. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ showMonthAfterYear: true });
//getter
var showMonthAfterYear = $(".selector").dateplustimepicker( "option", "showMonthAfterYear" );
//setter
$(".selector").dateplustimepicker( "option", "showMonthAfterYear", true );
Have the dateplustimepicker appear automatically when the field receives focus ('focus'), appear only when a button is clicked ('button'), or appear when either event takes place ('both').
$(".selector").dateplustimepicker({ showOn: 'both' });
//getter
var showOn = $(".selector").dateplustimepicker( "option", "showOn" );
//setter
$(".selector").dateplustimepicker( "option", "showOn", 'both' );
If using one of the jQuery UI effects for showAnim, you can provide additional settings for that animation via this option.
$(".selector").dateplustimepicker({ showOptions: {direction: 'up' });
//getter
var showOptions = $(".selector").dateplustimepicker( "option", "showOptions" );
//setter
$(".selector").dateplustimepicker( "option", "showOptions", {direction: 'up' );
Display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use selectOtherMonths.
$(".selector").dateplustimepicker({ showOtherMonths: true });
//getter
var showOtherMonths = $(".selector").dateplustimepicker( "option", "showOtherMonths" );
//setter
$(".selector").dateplustimepicker( "option", "showOtherMonths", true );
When true a column is added to show the week of the year. The calculateWeek option determines how the week of the year is calculated. You may also want to change the firstDay option.
$(".selector").dateplustimepicker({ showWeek: true });
//getter
var showWeek = $(".selector").dateplustimepicker( "option", "showWeek" );
//setter
$(".selector").dateplustimepicker( "option", "showWeek", true );
Set how many months to move when clicking the Previous/Next links.
$(".selector").dateplustimepicker({ stepMonths: 3 });
//getter
var stepMonths = $(".selector").dateplustimepicker( "option", "stepMonths" );
//setter
$(".selector").dateplustimepicker( "option", "stepMonths", 3 );
The text to display for the week of the year column heading. This attribute is one of the regionalisation attributes. Use showWeek to display this column.
$(".selector").dateplustimepicker({ weekHeader: 'W' });
//getter
var weekHeader = $(".selector").dateplustimepicker( "option", "weekHeader" );
//setter
$(".selector").dateplustimepicker( "option", "weekHeader", 'W' );
Control the range of years displayed in the year drop-down: either relative to today's year (-nn:+nn), relative to the currently selected year (c-nn:c+nn), absolute (nnnn:nnnn), or combinations of these formats (nnnn:-nn). Note that this option only affects what appears in the drop-down, to restrict which dates may be selected use the minDate and/or maxDate options.
$(".selector").dateplustimepicker({ yearRange: '2000:2010' });
//getter
var yearRange = $(".selector").dateplustimepicker( "option", "yearRange" );
//setter
$(".selector").dateplustimepicker( "option", "yearRange", '2000:2010' );
Additional text to display after the year in the month headers. This attribute is one of the regionalisation attributes.
$(".selector").dateplustimepicker({ yearSuffix: 'CE' });
//getter
var yearSuffix = $(".selector").dateplustimepicker( "option", "yearSuffix" );
//setter
$(".selector").dateplustimepicker( "option", "yearSuffix", 'CE' );
* Some events are inherited from datepicker.
Allows you to define your own event when the date or time are changed. The function receives the current date as a date object, the dateplustimepicker instance and a boolean as parameters. The last parameter will be true when the change comes from the picker and false when the change is made programmatically.
$('.selector').dateplustimepicker({
onDateTimeChange: function(date, inst, from_picker) { ... }
});
Allows you to define your own event when the date or time are changed, after sliding has finished. The function receives the current date as a date object, the dateplustimepicker instance and a boolean as parameters. The last parameter will be true when the change comes from the picker and false when the change is made programmatically.
$('.selector').dateplustimepicker({
onDateTimeChangeStop: function(date, inst, from_picker) { ... }
});
Allows you to define your own event when the time is changed. The function receives the current time as a time object, the dateplustimepicker instance and a boolean as parameters. The last parameter will be true when the change comes from the picker and false when the change is made programmatically.
$('.selector').dateplustimepicker({
onTimeChange: function(time, inst, from_picker) { ... }
});
Allows you to define your own event when the sliding stops and time is changed. The function receives the current time as a time object, the dateplustimepicker instance and a boolean as parameters. The last parameter will be true when the change comes from the picker and false when the change is made programmatically.
$('.selector').dateplustimepicker({
onTimeChangeStop: function(time, inst, from_picker) { ... }
});
Can be a function that takes an input field and current dateplustimepicker instance and returns an options object to update the dateplustimepicker with. It is called just before the dateplustimepicker is displayed.
$('.selector').dateplustimepicker({
beforeShow: function(input, inst) { ... }
});
The function takes a date as a parameter and must return an array with [0] equal to true/false indicating whether or not this date is selectable, [1] equal to a CSS class name(s) or '' for the default presentation, and [2] an optional popup tooltip for this date. It is called for each day in the dateplustimepicker before it is displayed.
$('.selector').dateplustimepicker({
beforeShowDay: function(date) { ... }
});
Allows you to define your own event when the dateplustimepicker moves to a new month and/or year. The function receives the selected year, month (1-12), and the dateplustimepicker instance as parameters. this refers to the associated input field.
$('.selector').dateplustimepicker({
onChangeMonthYear: function(year, month, inst) { ... }
});
Allows you to define your own event when the dateplustimepicker is closed, whether or not a date is selected. The function receives the selected date as text ('' if none) and the dateplustimepicker instance as parameters. this refers to the associated input field.
$('.selector').dateplustimepicker({
onClose: function(dateText, inst) { ... }
});
Allows you to define your own event when the dateplustimepicker is selected. The function receives the selected date as text and the dateplustimepicker instance as parameters. this refers to the associated input field.
$('.selector').dateplustimepicker({
onSelect: function(dateText, inst) { ... }
});
* Some methods are inherited from datepicker.
Returns the current time for the dateplustimepicker or null if no time has been selected.
Sets the current time for the dateplustimepicker. The new time may be a Time object or a string in the current time format (e.g. '05:30 pm').
Returns the current date and time for the dateplustimepicker or null if no date and time has been selected.
Sets the current date and time for the dateplustimepicker. The new date and time may be a string in the current date and time formats (e.g. '12/25/2010 05:30 pm').
Remove the dateplustimepicker functionality completely. This will return the element back to its pre-init state.
Disable the dateplustimepicker.
Enable the dateplustimepicker.
Get or set any dateplustimepicker option. If no value is specified, will act as a getter.
Set multiple dateplustimepicker options at once by providing an options object.
Returns the .ui-datepicker element.
Open a dateplustimepicker in a "dialog" box.
dateText: the initial date for the date picker as either a Date or a string in the current date format.
onSelect: A callback function when a date is selected. The function receives the date text and date picker instance as parameters.
settings: The new settings for the date picker.
pos: The position of the top/left of the dialog as [x, y] or a MouseEvent that contains the coordinates. If not specified the dialog is centered on the screen.
Determine whether a date picker has been disabled.
Close a previously opened date picker.
Call up a previously attached date picker.
Redraw a date picker, after having made some external modifications.
Returns the current date for the dateplustimepicker or null if no date has been selected.
Sets the current date for the dateplustimepicker. The new date may be a Date object or a string in the current date format (e.g. '01/26/2009'), a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +7d'), or null to clear the selected date.
jQuery DateplusTimePicker time selection has only some sliders and some labels. The sliders will be themed with the jquery ui theme you use. To theme the labels you can tweak the jquery-dateplustimepicker.css file to get the look and feel that fits your proyect.
To theme the calendar follow the instructions for datepicker.
The jQuery UI Datepicker plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain.
If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.datepicker.css stylesheet that can be modified. These classes are highlighed in bold below.
Note: This is a sample of markup generated by the datepicker plugin, not markup you should use to create a datepicker. The only markup needed for that is <input type="text" /> or <div></div>.
Download the latest jQuery DateplusTimePicker
jQuery DateplusTimePicker v0.7jQuery DateplusTimePicker code is hosted in github. You can checkout, contribute, follow changes or ask for help there.
Find it at github
jQuery DateplusTimePicker at githubUse the issue queue to submit bugs or ask for help
jQuery DateplusTimePicker issue queue