alcatrazbr
12/27/2016 - 5:12 PM

moment date javascript

moment date javascript


Now = moment();
/* formatar */
dthrLastStatus = moment(val.dthrLastStatus).format("DD/MM/YY HH:mm");

dthrLastStatus = moment(val.dthrLastStatus);

var i = Now.from(dthrLastStatus);
var i = Now.diff(dthrLastStatus, 'minutes');