Question

1
Replies
104
Views
Close popover
Akhil Yellanki (AkhilY67)
TCS

TCS
IN
AkhilY67 Member since 2017 4 posts
TCS
Posted: June 5, 2020
Last activity: June 5, 2020

How to add business days to Datetime property to get Datetime result

Hi I have a requirement to add no of days to datetime property and get the result include calculating the business days. So i have tried using this 

@BusinessCalendar.addDays(( .pxCreateDateTime),@String.toInt(.PriorityDays),true,"ING")

 

but unfortunately it's returning datetime format where date part is  proper but time isn't getting added and instead it's resetting to 00:00:00.

 

Please help me if anyone has anything alternative.

 

Thanks already.

Akhil

Pega Platform 8.2.6 Case Management Other Industry Senior System Architect