title: HTML5 DatePicker and TimePicker on same Knockout observable value with custom binding handler
body: <p>I am working on binding both the date and the time to two separate controls using Knockout and HTML5 elements.  Each of the binding is working independent of the other, but I am struggling to get them to update / display the same values of their respective portions of the property (date show date, time show time of same day)</p>
  
  <p>I used the datepicker from jQuery and RP's custom binding handler and I can bind to the HTML5 time input element but I am having a problem on updating the date observable properly when you change the time - </p>
  
  <p><a href="http://jsfiddle.net/NAgNV/1263/" rel="nofollow">http://jsfiddle.net/NAgNV/1263/</a></p>
  
  <p>The problem appears to be here - </p>
  
  <pre><code>ko.utils.registerEventHandler(element, "change", function() {
      var observable = valueAccessor();
      console.log($(element).value);
      observable($(element).value);
  });
  </code></pre>
  
  <p>If I select the first object in the array (why is it returning an array?) like this - <code>$(element)[0].valueAsDate</code> it appears to update the observable, but oddly enough it changes the date to 1970 and doesn't update the datepicker.</p>
  
  <p><strong>EDIT</strong></p>
  
  <h1>WHOA!</h1>
  
  <p>So I have been using this in a production application with no problems until this weekend - on Saturday oddly enough it started to decrement the hour every time you changed anything in the time picker.  Check out the example for proof - </p>
  
  <p><a href="http://jsfiddle.net/NAgNV/1339/" rel="nofollow">http://jsfiddle.net/NAgNV/1339/</a></p>
  
  <p>What changed?  Get ready for this one...</p>
  
  <p>The adjusted time is being set as the time on January 1st, 1970.  The adjusted date is correctly set to the proper date.  When the date picker is set to any day that is Central <em>Standard</em> Time, no problem.  When it is Central <em>Daylight</em> Time it starts going nuts.  The problem is that getting the time from one time zone and setting it to the value of another time zone decrements the hour.</p>
  
  <p>It also makes it impossible to set the time by manually typing it in.</p>
  
  <h2>Bounty Time!</h2>
  
  <p><strong>I updated Joseph's answer below and awarded the bounty since he put in extra time up front anyway</strong></p>