Tuesday, September 18, 2018

How to set date value in Pega

In Pega, if we have to set date, it picks only a specific format (YYYYMMDD)

Context: 

BirthDate is a property of type "Date", and we need to do property-set from activity with a value 1989-09-18, Pega accepts only a specific format in Pega without hyphens(-) or slash (/)

Answer:

BirthDate = 19890918  (Correct)
BirthDate = 1989-09-18  (InCorrect)
BirthDate = 18/09/1989  (InCorrect)

No comments:

Post a Comment


HowToPega : All rights reserved and the contents are copyrighted to Pavan Kumar Naidu