Forum Discussion

j_monger's avatar
j_monger
Copper Contributor
Aug 30, 2023

Meeting time returned incorrectly/Incorrect time code

Hi everyone,

 

So I'm putting an app together internally at work that scrapes the reminders set for us in ZenDesk using the reminders app, converts them and then pushes the events to my Outlook calendar. The pushing is fine and they show up at the right time in my calendar like so:

 

However when I go to pull the events from graph to make sure I'm not uploading duplicates I get the following:

Which means that the comparison is failing as the time is an hour behind.

 

Am I missing something here or is MS using the wrong time code? It's currently Summer where I'm based (UK) and the clocks are an hour ahead so UTC should be +1 too right?

 

I'd be super appreciative to anyone who can help. Cheers.

 

 

1 Reply

  • KasperLarsen's avatar
    KasperLarsen
    Iron Contributor
    Most (all?) systems saves datatimes in UTC0 and the front End is requested to offset to the correct time zone based on the current user. When using an API I would expect to get the UTC0 timestamp, as there are not user context. Hopes it makes sense.

Resources