'Knex.js .whereBetween() includes date before
I am running a filter query and getting records between a certain date range, for some reason, it's grabbing records a day before my range. For example:
.whereBetween('created_at', [dateRange.from, dateRange.to]);
When I select 01/19/2022 - 01/26/2022 it grabs a record from 01/18/2022 for whatever reason, does anyone know why this is happening?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

