Question
4
Replies
3090
Views
JPMC
Posted: February 10, 2017
Last activity: February 14, 2017
Closed
adding business days to a datetime property
I have a datetime property , and i want to set it as current datetime+ 2 business days ... How can i do this?
I saw OOB function - TimeDifferenceBusinessDays , but that is expecting a calendar object...
***Updated by moderator: Lochan to update Categories***
Hi Ashish,
Can you use OOTB addDays function under BusinessCalendar library?
@(Pega-RULES:BusinessCalendar).addDays (String, int, boolean, String) or
For example:
@(Pega-RULES:BusinessCalendar).addDays(<yourDateTime>, <days to add>, true, USDefault)
Thanks,
Susan