I have retrieved Queue items from the Orchestrator using the UiPath API. I intend to filter these items based on their CreationTime and return them in the form of a Dictionary<String, JToken>. For proper utilization of the CreationTime, it is essential that this data includes timezone information. However, when I examine the CreationTime of the retrieved items using Log Message or Debugging, it appears as 07/22/2024 07:44:27 without any timezone information.
This seemed odd, so I saved the JToken values into a text file using Write Text File, and they were correctly stored as “CreationTime”: “2024-07-22T07:44:27.16Z”.
What could be the cause of this issue and how can it be resolved? To utilize this properly, the log or debugging should also display the UTC format (2024-07-22T07:44:27.16Z). Please help.