Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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.
Suggest Edit

Published February 13, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us