Skip to main content

Support Article

DateTime set "01-01-1970" when property value is empty



After applying the Parse-XML rule, the Date type element is set to "01-01-1970", when the referenced source Clipboard Property value is empty

Error Messages

Not Applicable.

Steps to Reproduce

1. Create Page with DateTime property.
2. Create XML Stream.
3. Run XML Steam on created page with emply DateTime property.

Root Cause

It is a default behavior to set the Date to epoch date, that is 01-01-1970, when any java operations are performed on an empty Date/DateTime type property.

However in Pega 7.1.8 there are two Dynamic System Settings that affects the way Date/DateTime property are evaluated when they are empty or have "0" as value.
That is. when the DSS is set to true, an empty Date or DateTime type property value is not converted to epoch date.


User is suggested to set the following Dynamic system setting's value to "true".

1. for Date property             : use dynamic system setting "
2. for DateTime property     : use dynamic system setting "

both of these DSS's owning ruleset is "

Suggest Edit

Published July 27, 2015 - Updated October 8, 2020

Did you find this content helpful?

50% found this useful

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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