Posted: 26 Nov 2020 23:40 EST Last activity: 3 Dec 2020 13:20 EST
Different values for date time property in UI and Clipboard
I'm facing an issue regarding the Date time control that is sending incorrect time to the clipboard.
The image below shows the date and time choosed:
At the control i have a "Post Value" action configured to send the date time value to the clipboard on change but as you can see in the next image, the value for the "DtInicio" property is beeing updated with a different value than it was selected in UI.
One thing that is curious is that the time on the clipboard its always three hours longer than the time selected in the UI date and time control.
Can anyone help me to solve this issue?
Ps.: The time zone selected for my operator is America/Bahia.
Thanks in advance.
***Edited by Moderator: Pooja Gadige to add platform capability tag***
The clipboard shows GMT value for DateTime properties. As America/Bahia has 3 hours offset from GMT (UTC - 03:00), the time that is stored in database will be 3 hours greater than what it shows on the clock in Bahia, Brazil. Please note that when the DateTime shows in clipboard, it also shows the timezone related to that value, which is GMT (not GMT -03:00).