momentjs date and time string add minutes
moment(date, "DD-MM-YYYY hh:mm:ss")
.add(10, 'minutes')
.format('DD/MM/YYYY hh:mm:ss');
momentjs date and time string add minutes
moment(date, "DD-MM-YYYY hh:mm:ss")
.add(10, 'minutes')
.format('DD/MM/YYYY hh:mm:ss');
javascript get time ago with moment
const dateTimeAgo = moment("2020-04-04 11:45:26.123").fromNow();
console.log(dateTimeAgo); //> 6 minutes ago
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us