I cant find any decent examples of implementing the WinJS.UI.DatePicker control. Specifically I am not able to retrieve the "current" attribute from the "change" event. In my example below "eventInfo.current" is undefined?
<h2>Date Picker Control</h2>
<label for="datePickerDiv">
Enter A Date:
</label>
<div id="date" data-win-control="WinJS.UI.DatePicker"></div>
<div id="datePickerOutput"></div>
//datePicker Control
var date = document.getElementById("date");
var datePicker = date.winControl;
datePicker.addEventListener("change", dateChanged, false);
function dateChanged(eventInfo) {
var datePickerOutput = document.getElementById("datePickerOutput");
datePickerOutput.innerText = "Selected Date: " + eventInfo.current + '.';
}