Hello
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.
obj_OrderReceived1.OrderDate=Convert.ToDateTime(in_OrderDate)
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”)
I assign here .
obj_OrderReceived1.OrderDate=TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow,TimeZoneInfo.FindSystemTimeZoneById(“Tokyo Standard Time”))
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.