Question
Noida institute of engineering and technology
Noida institute of engineering and technology
IN
Posted: Jun 16, 2020
Last activity: Jun 16, 2020
Last activity: 16 Jun 2020 12:25 EDT
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
How to validate age must be greater than 18
You can use below expression,
@round(@DateTimeDifference(@dateValue(Param.Date),@dateValue(@today()),"Y")) > 18
Please see two examples,
While running there is error it shows age is not 18+ even if the year is 2000.
Where you are using this? In Data Transform?
Is it showing true when you try on expression builder as in screenshot sent?
Question
Question Solved
Question
Question Solved
Discussion
Question
Question
Question
Question
Question Solved
Pega Collaboration Center 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.