How to convert the UTC to the normal DateTime format?

I put the DatePicker on the apps that created by the uipath apps. Then that date will be stored in the uipath DataService when click the register button.

The date will be stored in Argument in_OrderDate as String and then assign to the dataservice.

It works.

But when i change to the DatePick , It returns the UTC .How can i change UTC to the DateTime Format?

I read this link and still dont understand . Solution on how to convert DateTime variables between UTC and Local or a specific timezone

Thanks you in advace.


Check below for your reference


Hope this may help you


what is your local timezone? Is it to expect that the solution will be executed within different timezone on different locations?

Hello @ppr
my local time zone is GMT+9.
no, it is not to expect .

was asking for the timezone name

Hi @eimon,

Try to use the Conversion syntax to change the whichever date format into the required format.
I have implemented the logic & hope this is what your looking for.

User this syntax: Convert.ToDateTime(inputDate).toString(“MM/dd/yy hh:mm:ss”)

If facing any other issues, reply back.


oh sorry.misunderstanding
(UTC+09:00) Osaka, Sapporo, Tokyo

Tokyo Standard Time


TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow,TimeZoneInfo.FindSystemTimeZoneById("Tokyo Standard Time"))

not serious meant, for entertainings:

Hello @ppr

I assign here .
obj_OrderReceived1.OrderDate=TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow,TimeZoneInfo.FindSystemTimeZoneById(“Tokyo Standard Time”))

It shows error.

Where do i suppose to set bind data “in_orderdate” arguments ?

Hello @Kalees9486 It didnt go well .

Thanks eimon (12.4 KB)

arguments comes from the apps and assign to the entity of the dataservice.
my question was wrong.
how to assign utc type to the entity of datetime format.