How do I use function @DateTime.TimeDifferenceBusinessDays?
I'm using Pega 7.1.9. I can't figure out how to use function @DateTime.TimeDifferenceBusinessDays(aCalendar,strStart,nDays,nHours,nMinutes,nSeconds) in a data transform. The first parameter seems to be the problem. The pop-up documentation says I can pass null to use the server's default calendar and time zone, which would be fine -- but if I enter null or an empty string ("") or leave the parameter off altogether, I get various syntax errors. How can I create a CalendarObject for that first parameter?
Here are the syntax errors I'm getting:
@DateTime.TimeDifferenceBusinessDays(null,"20160607T134400.000GMT",5,0,0,0)
Invalid expression or reference: No suitable instance found
[seeking]
@(null:DateTime).TimeDifferenceBusinessDays(ClipboardPage,String,int,int,int,int)
[candidate functions are]
@DateTime.TimeDifferenceBusinessDays("","20160607T134400.000GMT",5,0,0,0)
Invalid expression or reference: No suitable instance found
[seeking]
@(null:DateTime).TimeDifferenceBusinessDays(String,String,int,int,int,int)
[candidate functions are]
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.