I receive a date from a database and log them in my server code (Node.js). It's formatted like this:
Wed Jul 05 2023 00:00:00 GMT-0500 (Central Daylight Time)
Then I do absolutely nothing to it, send to my client, and log what it received:
"2023-07-05T05:00:00.000Z"
How is this possible? What's happening?