Local time zone is not applied to tasks created using the Graph API or EWS Managed API
If the local time zone is UTC+2, and ToDo task created in ToDo or Outlook due date is April, 15 2023 Graph API returns:
"dueDateTime":{"dateTime":"2023-04-14T22:00:00.0000000","timeZone":"UTC"}
If we create or update a task using Graph API with same date
Request:
"dueDateTime":{ "dateTime":"2023-04-14T22:00:00", "timeZone":"UTC"}
Response:
"dueDateTime":{"dateTime":"2023-04-14T00:00:00.0000000","timeZone":"UTC"}
the task will be displayed in the UI with the date April, 14 regardless of the local time zone.
84 answers
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more