Question

5
Replies
1046
Views
Close popover
Dilipan Venkatesan (DilipanV105)
Atos Syntel
Consultant
Atos Syntel
IN
DilipanV105 Member since 2012 144 posts
Atos Syntel
Posted: March 17, 2016
Last activity: March 29, 2016
Closed
Solved

Has anyone used TimeDifferenceFirstBusinessDay() Function ?

Have anyone used TimeDifferenceFirstBusinessDay() Function? I am having trouble with the aCalendar parameter.

It says that if aCalendar is null - it should use server's default calendar and local time zone, but it is failing validation if I leave it null.

And what should one give for the calendarObject? should I have to provide the instances of Data-Admin-Calendar ?

Description:
Returns the first business day after the specified DateTime, using the specified calendar.
Usage:
Returns the first business day after the specified date, using "business day" logic (assumes US business day rules (Saturday/Sunday closed), ignores possibility of holidays (constant 5 day weeks)).
Parameter:
aCalendar: calendar to be used for computation, if null, uses the server's default calendar and local time zone
strStart: base date/time, if null or zero length, uses the current date and time

Example:
TimeDifference(calendarObject, "20090127T224645.845 GMT") = "Thu 2009/01/29 23:47:46 GMT+00:00"

Message was edited by: Lochan to add Category

Case Management
Moderation Team has archived post,
Close popover 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.