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

DateTime control does not display the local time

SA-14229

Summary



A DateTime control is used for a property on a section, but it is not displaying the time in local time zone. 


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a Date Property.
  2. Property value is saved as GMT in database.
  3. Add the Date property in a section using a DateTime control.
  4. Value is displayed in GMT rather than the local time zone.


Root Cause

An issue in the custom application code or rules. The issue is related to the use of a date property without a time zone.



Resolution



Perform the following local-change:

Use a DateTime property, which maintains the time zone, instead of just a Date property, so that the DateTime control has access to the local time.

 

Published April 15, 2016 - Updated October 8, 2020

Was this useful?

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.

Did you find this content helpful?

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