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