Orchestrator Postpone date TIME

Hi All, In orchestrator postpone datetime is taking UTC time it seems and postponing my item to Today date (3/14) and 6:30 PM when i postpone to Next day (3/15/23 00:00:00). Need solution

@Nannaka_Pramod

Welcome to the community

You can get utc current time In studio using DateTime.UTCNow …instead of manipulating now you can use utcNow there…

Or if you have a datetime already and want to convert it from the specified to utc then use

TimeZoneInfo.ConvertToUTC(yourdatevariable,TimeZoneInfo.findsystemtimezonebyid("Eastern Standard Time") this is to convert from est to utc …you can give your timezone name…and datevariable is to be sent if you have a string date then use cdate("datestring") to convert it to date

Hope this helps

Cheers

1 Like

You can change timezone of orchestrator in settings and keep it as per your requirement

@Gaurav_Malhotra

I believe queue still stores it in utc itself the change will be only for display purpose may be as far as I remember…not sure though

Cheers

1 Like

Just try it once. If it helps. Because ideally whole tenant timezone should be changed. Let me know the findings as well

the date time will store using UTC format in DB but for displaying in the OC you can change the timezone on the setting page. once you change it, all of the triggers will follow it.

1 Like