There is a lot of people that has problems with dates and time in WIX Code. I have worked hard to understand this and here I share my thoghts.
There is something called servertime in my world, that is the date / time together with the servers timezone. So when you get date / time from server maybe you will get the servers timezone.
There is something called local date / time and that is your users browsers date / time timezone.
So when you work with date / time you might want to check https://www.w3schools.com/jsref/jsref_gettimezoneoffset.asp and think about always storing date / time in UTC and always convert to and from UTC using difference between UTC and your users local time settings.
Have anyone the same thoughts? So in what timezone is the servers placed?