

Creator III
2015-11-18
04:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Networkdays() Function??
Dear Users,
I am using the following code
NetWorkDays(Sales_Mis_SALES_LOGIN_DATE,Sales_Mis_SANCTION_DATE,$(vHoliday)) as SANCTION_DAYS
I wanna pass mutiple days in vHoliday but i am not getting desired result,
vHoliday='11/11/2015','12/11/2015'
Request you to help.
Or Just suitable option to achieve thi I have set of 10 dates which should be avoided for calculation of sanction days.
Thanks and Regards,
Rohit
- Tags:
- networkdays
- scipt
780 Views
1 Solution
Accepted Solutions


Master III
2015-11-18
04:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
643 Views
5 Replies

MVP
2015-11-18
04:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See if this helps:
vHoliday= Chr(39) & MakeDate(2015, 11, 11) & Chr 39, Chr(39) & MakeDate(2015, 12, 11) & Chr 39


Master III
2015-11-18
04:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good Explanation in the Below Document.
644 Views

MVP
2015-11-18
05:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try to provide Numbers instead of actual date in variable. for example 42326


Creator III
2015-11-18
05:13 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried using this but it only accepts one date..
643 Views

MVP
2015-11-18
05:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are the dates in fields of similar formats? If so, try
- remove '=' while defining variable
- remove '$' from variable in networkdays()
