trentrichardson/jQuery-Timepicker-Addon — pull request #502 by raykov (2012-11-14 16:39:29+00:00)
Title: date range and alternate fields

if we use construction like this

```html

```

```javascript
$(function() {
$( "#from" ).datetimepicker({
onClose: function( selectedDate ) {
altField: "#altfrom",
altFieldTimeOnly: false,
$( "#to" ).datetimepicker( "option", "minDate", selectedDate );
}
});
$( "#to" ).datetimepicker({
onClose: function( selectedDate ) {
altField: "#altto",
altFieldTimeOnly: false,
$( "#from" ).datetimepicker( "option", "maxDate", selectedDate );
}
});
});
```
when we select datetime on first field **#from** it's populate **#altto** field with current date