DateTime Inconsistency Issues in O365 REST API

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 Wednesday, August 26, 2015 7:41 PM
August 22nd, 2015 1:03am

Hi Tracy,

Any update?

Thanks

Free Windows Admin Tool Kit Click here and download it now
August 30th, 2015 10:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics