Javascript – In Apps Script, why does 1/1/2023 gets reset as 12/31/2022 whenever I try to do math using Date()?
Background: I am pretty new to apps script, i have some beginner knowledge in other languages. I am trying to do some dates math, this happens in a loop when a user enters two dates (from and to) in cells.…