how to minus 7 days from current date in javascript code example Example: js date minus 18 years use moment.js