I pull using $ .get json from a remote resource, pull a date from it in milliseconds, then I need to convert it to the date of the dd.mm.yyyy format
I try so, gives NaN.NaN.NaN
var date = new Date(data.list[i].date); date = date.getDate() + '.' + date.getMonth()+1 + '.' + date.getFullYear();
data.list[i].date. Perhaps there is a date in a non-valid format. - Ilya BizunovNumber, an error will crash. - user207618