I use Now.ToString(“dd-MM-yyyy HH:mm:ss”) for my date and it’s work in local. But when i run my process on the tenant, i’m not in UTC+2 (French time) but in UTC+0.
For example, in local i have 17:15 but in tenant i have 15:15.
I try many solutions found on the web but that doesn’t work or i don’t understand
hi @Christopher_p ,
What i get here is,
first : your local PC has a different timezone with your tenant machine, u’re UTC+2 and Tenant UTC+0. is it correct?
if it’s correct, secondly : what u want is, u want to have a same result for the time either in local or tenant? i.e Local 17.15 & Tenant 17.15 (which is should + 2 hours).
Hi Christoper,
Ah i see, so basically your local & machine have a same time which is UTC + 2, but when u produce your file using Now.ToString(“dd-MM-yyyy HH:mm:ss”), it shows UTC + 0, is it?
Better to keep all the time in the UTC timezone as in the Rest API calls, the date data are presented in the UTC (Coordinated Universal Time) timezone.
As the UTC/GMT never changes, but rather the country adheres to a different time-zone during DST, we are not changing it either in the Orchestrator.