Odd behavior of queue item datetime

Here is what it looks like in the queue item in Orchestrator:

image

But transactionItem.SpecificContent(“Run_DateTime”).ToString returns:

image

And getting just the hour (which is what I need) gives me 9 instead of 5.

1 Like

Obviously it’s giving me UTC time but why would it do that?

1 Like

Hey @postwick

Orchestrator display uses the timezone set in the settings of the portal.

Whereas the time is stored as UTC in the DB.

And when you said you are trying to retrieve hour which is 9 in your case looks fine !

Thanks
#nK

I understand what it’s doing, but not why. It should give me back the same date/time that was entered.