Support Article
Date mismatches on UI and Clipboard
SA-20334
Summary
The date values on the user interface (UI) and clipboard mismatch.
An example is given below.
Clipboard Date Values:
From Date = 01 Jan 2016
To Date = 09 Feb 2016
UI date Values appear as given below:
From Date = 01 Jan 2016
To Date = 08 Feb 2016
Error Messages
Not Applicable
Steps to Reproduce
1. Create FromDate and ToDate properties, and initialize the values through a data transform.
2. Map the properties to UI.
3. Run the case. The value will be initialized and set in UI.
4. Compare the values appearing in UI and Clipboard.
Root Cause
A software use or operation error:
DateTime control was used to display the value of dates. The daylight saving time zone will be processed for DateTime control, and caused the reported behavior.
Resolution
Perform the following local-change:
Use Date control instead of DateTime control.
Published February 13, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.