View source on GitHub
or download below

jquery.timepicker

A jQuery timepicker plugin inspired by Google Calendar.

Basic Example

$('#basicExample').timepicker();

Scroll Default Example

Set the scroll position to local time if no value selected.

$('#defaultValueExample').timepicker({ 'scrollDefaultNow': true });

Duration Example

Set a starting time and see duration from that starting time. You can optionally set an maxTime as well.

$('#durationExample').timepicker({
	'minTime': '2:00pm',
	'maxTime': '11:30pm',
	'showDuration': true
});

onSelect Example

Trigger an event after selecting a value. Fires before the input onchange event.

$('#onselectExample').timepicker({
  'onSelect': function() {
	$('#onselectTarget').text($(this).val());
  }
});

timeFormat Example

timepicker.jquery uses the time portion of PHP's date formatting commands.

$('#timeformatExample1').timepicker({ 'timeFormat': 'H:i:s' });
$('#timeformatExample2').timepicker({ 'timeFormat': 'h:i A' });

Step Example

Generate drop-down options with varying levels of precision.

$('#stepExample1').timepicker({ 'step': 15 });
$('#stepExample2').timepicker({ 'step': 60 });

Select Example

Use jquery-timepicker with <select> elements too.

Datepair Example

to

Datepair source available here.

Want to get paid to work on stuff like this?

Shameless plug: ParkWhiz is looking for talented designers and developers to help us drag the parking industry out of the Stone Age. Visit ParkWhiz's jobs page or email jobs@parkwhiz.com and introduce yourself!

Contact

Jon Thornton — [lastname].[firstname]@gmail.com

Download

You can download this project in either zip or tar formats.
Get the source code on GitHub: jonthornton/jquery.timepicker

You can also clone the project with Git by running:
$ git clone git://github.com/jonthornton/jquery-timepicker