javascript – How to increment date by one when filtering with a date range in nodejs mongodb

i want to fillter data by a date range . Assume i filter data 2020-09-10 to 2020-09-12
it give only data from 2020-09-10 to 2020-09-11

so i want to increase date by one in second parameter.(dateleave). or if there any solution to do this
this is my code

  exports.findByDateRange = (req, res) => {

    dateTime: {
      $gte: req.params.dateArrival,
      $lt: req.params.dateleave
    .then((data) => {