Question
2
Replies
417
Views
TCS
Posted: February 22, 2017
Last activity: April 12, 2017
Closed
How to auto increment age every year?
I'm calculating the age of candidate by using @DateTimeDifference(@String.toDate(.birth_year+ .birth_month + .birth_date), @DateTime.today(), "Y"). The age is in integer.
My requirement is to increment this age by 1 every year (so that the present age is displayed always). How can I achieve this by using activity/data transform?
-Aparna
***Updated by moderator: Lochan to update Categories***
Hi Aparna,
Could you please have a look and see if it helps or not ?
https://pdn.pega.com/community/product-support/question/numeric-down-format-number
Thanks.