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 type property does not accept two-digit year

SA-28289

Summary



An inbound service delivers a six-digit date in YYMMDD format to set into a Date property through an activity. In Pega 7.1.9, the Property-Set step of the activity fails because it expects an eight-digit date in YYYYMMDD format.

Error Messages



"String not a Date: 160826"

Steps to Reproduce

  1. Create a Date or DateTime property in Pega 7.1.9. 
  2. Create an activity to execute a Property-Set step to set the Date or DateTime property with YYMMDD date string.
  3. Run the activity.

Root Cause



As part of changes made for BUG-115779, support for converting six-digit date string to correct date is lost.

Resolution



Apply HFix-29421.

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

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