19000000 is not a valid date\/time value
Hi everyone,
I'm facing an issue with the date time value. The error says as below:
"[MSG][Exception encountered while executing a data transform][STACK][com.pega.pegarules.pub.clipboard.InvalidValueException: 19000000 is not a valid date\/time value<CR>\tat com.pega.pegarules.pub.util.PRDateFormat.parseAsDateTime(PRDateFormat.java:1419)<CR>\tat com.pega.pegarules.pub.util.PRDateFormat.parseAsDateTime(PRDateFormat.java:1407)<CR>\tat com.pega.pegarules.pub.clipboard.PRStringFormat.pegaToDate(PRStringFormat.java:642)<CR>\tat com.pega.pegarules.pub.runtime.ParameterPage.getAsDate(ParameterPage.java:336)<CR>\tat com.pega.pegarules.session.internal.mgmt.Executable.getParamAsDate(Executable.java:3318)<CR>\tat com.pegarules.generated.model.r** "
Can someone guide me to find out the type(format of Date) of Data the user is trying to insert into the Date Type(property field) and how to fix this when dealing with Service-REST?
Thanks in advance
@Rajak9999 We cannot know why the user entered a seemingly non-existent date 19000000. While it appears to be attempting to represent a date (possibly in YYYYMMDD format), it's not properly formatted according to Pega's date parsing rules.
Hopefully the below will help you to fix this when dealing with Service-REST.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Supported Date Formats in Pega Service-REST Pega supports several ISO 8601 standard formats for date/time values. Here are the main supported formats:
How to Fix This Issue To resolve this issue in Service-REST, you have several options:
@Rajak9999 We cannot know why the user entered a seemingly non-existent date 19000000. While it appears to be attempting to represent a date (possibly in YYYYMMDD format), it's not properly formatted according to Pega's date parsing rules.
Hopefully the below will help you to fix this when dealing with Service-REST.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Supported Date Formats in Pega Service-REST Pega supports several ISO 8601 standard formats for date/time values. Here are the main supported formats:
How to Fix This Issue To resolve this issue in Service-REST, you have several options:
REFERENCS
Loading Data Types Documentation
Date Properties Guide
Parsing Date Values Documentation