I’m retrieving date/time fields from a Wix order object and returning them in a JSON object. The information is in UTC in the order:
order.startDate: “2026-02-23T08:36:49.855Z”
order.currentCycle.endedDate: “2026-03-23T09:12:54.571Z”
I return them back directly:
return { planPurchasedDate: order.startDate, renewsOn: order.currentCycle.endedDate };
However, when I query the returned JSON object, the dates are converted to GMT+2 (my site’s timezone) and the first date is wrong (the time portion is lost) and the second date is correct:
planPurchasedDate: “Mon Feb 23 2026 02:00:00 GMT+0200 (Eastern European Standard Time)”
renewsOn: “Mon Mar 23 2026 11:12:54 GMT+0200 (Eastern European Standard Time)”
Anyone else run into this? Why would one date “convert” correctly but another drop the time?





