06-28-2013 01:59 PM - edited 06-28-2013 02:06 PM
I am using a DateTimePicker to get the date/day of the week,etc picked by the user. Is there a straight-froward way of doing this without using C++?
Solved! Go to Solution.
06-28-2013 03:20 PM - edited 06-28-2013 03:24 PM
Do you mean using QML ? If so, please check http://developer.blackberry.com/cascades/reference
06-28-2013 03:46 PM
06-28-2013 04:09 PM - edited 06-28-2013 04:10 PM
Sorry, I forget to attach the code :-)
var dateSelected = datePicker.value; console.log("dateSelected=" + dateSelected); var daywwek = dateSelected.getDay(); console.log("dayWeek=" + daywwek);
06-28-2013 04:17 PM
Btw, were is the values.getDay() method documented? I couldn't find it on: https://developer.blackberry.com/cascades/referenc
06-28-2013 04:35 PM