locked
How to get selected input from Date Picker and Time Picker controls in Windows Store Apps ?

    Question

  • How to get the user selected date and time from win.js Date Picker and Time Picker controls in windows store app using javascript. The html of those controls is as follows.

    <label>Scheduled Date and Time</label>
    
    <div id="editformdate" data-win-control="WinJS.UI.DatePicker"></div>            
    <div id="editformtime" data-win-control="WinJS.UI.TimePicker"></div>

    Tuesday, November 26, 2013 8:57 AM

Answers