All date/time stamps appear to be returned with the local time zone offset relevant to the customer's region in O365 - except for one case. In a calendar event, if the 'All Day Event' toggle is set to true - then the REST API query will return the event Start Date (EventDate) and End Date as UTC. If the toggle is set to false, then it will return those dates with the local time zone offset (see images below).
Why the difference? Suddenly my JS code stops working correctly when users begin checking the 'All Day Event' setting, took me many hours to figure out why. Let's pick one, and stick to it.
- Edited by Tracy'S 11 hours 57 minutes ago