My system is in UTC.
In my process, I have a system action COMPLETEACTION assigned to the system.
In output of this action I need to retreive the current DateTime in a text data named CLOTURE in time zone format of Paris (GMT + 1 or Time Zone ID 2 ). Can you help me ?
I am able to retrieve the current date in Paris time Zone in a data in “date” format", but not abble to convert it in a string without loosing the time zone conversion.
Hi @nlevrat,
I am not sure how your code looks like but have you tried this?
DateTimeObject.ToString("dd/MM/yyyy HH:mm:ss");
You can change the format to whatever you like.
HH:mm:ss will display the hours, minutes and seconds respectively of the DateTime object.
Regards,
Eddy.
Hello,
My problem is not a pb of format but a problem of timezone. When I put “<WF_SYSTEM_DATETIME>” in a text field, the result is a UTC time (My system is configured with UTC time), not Paris time.
I need to do convert this date not in the code behind but in parameters using java script or VB as the action is a system action.