how to add the number of days in date node.js code example Example: nodejs date add days date.setTime( date.getTime() + days * 86400000 );