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
- Create a Date or DateTime property in Pega 7.1.9.
- Create an activity to execute a Property-Set step to set the Date or DateTime property with YYMMDD date string.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.