add 1 day to a js date code example Example: nodejs date add days date.setTime( date.getTime() + days * 86400000 );