Question4Replies3090Views×Close popoverAshish Agrawal (Ashish Chase) JPMC JPMC SG View ProfileSend Message Ashish Chase Member since 2016 16 posts JPMC Posted: February 10, 2017Last activity: February 14, 2017Posted: 10 Feb 2017 16:20 ESTLast activity: 14 Feb 2017 6:04 EST Closed adding business days to a datetime propertyI 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*** Data Integration Java and Activities Case Management User Experience ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 4 years agoPosted: 10 Feb 2017 17:46 EST×Close popoverSusan Liu (SusanLiu_GCS) PEGA Principal Software Solutions Engineer Pegasystems Inc. US View ProfileSend MessageSusanLiu_GCS PEGA replied to Ashish ChaseHi 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 Posted: 4 years agoPosted: 12 Feb 2017 17:38 EST×Close popoverAshish Agrawal (Ashish Chase) JPMC JPMC SG View ProfileSend MessageAshish Chase JPMC replied to SusanLiu_GCSI had done that, but that will loose my time..., i want to retain my time value as well... Posted: 4 years agoPosted: 13 Feb 2017 6:39 EST×Close popoverSandeep Gunanchipalli (Sandeep46) OCBC Bank Senior Software Analyst OCBC Bank SG View ProfileSend MessageSandeep46 OCBC Bank replied to Ashish ChaseHi Ashish, Can you try the below OOTB function @(Pega-RULES:DateTime).addToDate(<DateTimeProperty>,<No.of days>,<Hours>,<Minutes>,<seconds>) DateTimeProperty - datetime days - string hours - string minutes - string seconds - string In your case, you may use hours, minutes and seconds as zero. Thanks, Sandeep. Posted: 4 years agoPosted: 14 Feb 2017 6:04 EST×Close popoverAkshay Kumar Sinha (AkshaySinha) PEGA Senior Technical Solutions Engineer Pegasystems Inc. IN View ProfileSend MessageAkshaySinha PEGA replied to Ashish ChaseHi, Please have a look on the below article : https://pdn.pega.com/community/pega-product-support/question/how-add-given-days-number-date-using-only-business-days Thanks.