Countdown timer (picker) value to string
What's going on here? I need datetime to look like the first info as a string so I can parse the minutes and seconds.
//By the way, the picker is setup as a countdown timer.
//Picker is changed to a value of 13min
picker.addEventListener('change',function(e)
{
Ti.API.info(e.value);
var datetime = e.value+"";
Ti.API.info(datetime);
});
outputs:
[INFO] 0002-12-02 00:13:00 -004308
[INFO] Sat Nov 30 0002 00:56:08 GMT+0000 (GMT)