I have the following code that works in the browser, but when its on the phone as an app it comes up with:
undefined NaNNaN
Where in the browser version of the app its:
June 2014
Here is the code which is tethered to the Add JS of the Mapping, onto a label:
pre
var d = new Date(value);
console.log(d);
var monthNames = [ "January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December" ];
return 'Member since ' + monthNames[d.getMonth()] + ' ' + d.getFullYear();
/pre
d = Tue Jun 17 2014 18:50:59 GMT+0100 (BST)
How do I make it work right with iOS and Android ?