JavaScript Get Hace Time con Moment
const dateTimeAgo = moment("2020-04-04 11:45:26.123").fromNow();
console.log(dateTimeAgo); //> 6 minutes ago
redeluni
const dateTimeAgo = moment("2020-04-04 11:45:26.123").fromNow();
console.log(dateTimeAgo); //> 6 minutes ago
moment(testDate).format('MM/DD/YYYY');
const dateTimeAgo = moment("2021-10-03 07:35:53").fromNow();
console.log(dateTimeAgo); //