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

PegaSurvey-Datetime changes after refresh



In Pegasurvey, value in datetime property value changes after screen refresh or after answering other questions.
A common pattern is observed in date time change (adding 4 hours for every refresh).

For Example:

6/19/2015 6:45 AM
6/19/2015 10:45 AM
6/19/2015 2:45 PM
6/19/2015 6:45 PM
6/19/2015 10:45 PM
6/20/2015 2:45 AM
6/20/2015 6:45 AM

Error Messages

Not Applicable

Steps to Reproduce

1. Create a few questions and set one question format to be DateTime. 
2. Create a Question page and have all the Simple Questions created above added under Questions tab. Ensure the checkbox "Refresh" is checked.
3. Create Survey and have above created question page added under Question Pages tab.
4. Run the Survey.
5. Select a DateTime value and answer any other question in the survey which has refresh option selected. Observe that date stamp changes (4hrs gets added) after answering other questions.

Root Cause

The root cause of this problem is a defect in Pegasystems’ code/rules.

The issue occured because the locale and timezone was not considered while converting the date time value from string to date in SetPropertyMapping activity.


This issue is resolved by HFix-22809.

Published July 13, 2015 - 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?

Want to help us improve this content?

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