Question

8
Replies
5883
Views
Charan_Tummala Member since 2016 3 posts
Accenture
Posted: 4 years ago
Last activity: 3 years 10 months ago
Closed

Empty Date fields default to 19700101

When the customer submits empty date field values, Pega is defaulting the value to 01/01/1970. The dynamic system setting (DSS) "disableEpochDateTime" was set to true but it still displays a blank date as 19700101.

Steps to Reproduce

1. Create a Service which expects a Date element and gives date as a response. 
2. Send input date as blank and run the service. 
3. In the response we could see 1970-01-01
 
Attempted Solutions
Added dynamic system setting (DSS) "disableEpochDateTime" and was set to true but it still displays a blank date as 19700101.
I'm currently using Pega v7.2.
Thanks in Advance.
Charan

**Updated by Moderator: Lochan. Removed user added helpme, Ask the Expert and SR Created tag. Apologies for confusion, shouldn't have been an end-user option; added Category*** 

***Updated by Moderator: Marissa to add SR Details***

User Interface SR Exists
Moderation Team has archived post
Share this page LinkedIn