moment js add day
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
moment js add day
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
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