Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help in Net Working Days

Hello Friends,

As I need to find the net working days of (RelDate), Saturday and Sunday will be holiday from the period of Oct 2011 to Sep 2012.

Can anybody help me...

Regards

Chriss

Labels (1)
1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi Chriss,

Function Networkdays (start:date, end_date {, holiday})  will do this job.

Returns the number of working days (Monday-Friday) between and including start_date and end_date taking into account any optionally listed holidays. All parameters should be valid dates or timestamps.

Examples:

networkdays ('2007-02-19', '2007-03-01') returns 9 

networkdays ('2006-12-18', '2006-12-31', '2006-12-25', '2006-12-26') returns 8

Regards,

Sokkorn

View solution in original post

4 Replies
Sokkorn
Master
Master

Hi Chriss,

Function Networkdays (start:date, end_date {, holiday})  will do this job.

Returns the number of working days (Monday-Friday) between and including start_date and end_date taking into account any optionally listed holidays. All parameters should be valid dates or timestamps.

Examples:

networkdays ('2007-02-19', '2007-03-01') returns 9 

networkdays ('2006-12-18', '2006-12-31', '2006-12-25', '2006-12-26') returns 8

Regards,

Sokkorn

Anonymous
Not applicable
Author

Hi Chris,

Have you tried the NetWorkDays() function?

Not applicable
Author

Hello  Sokkorn and Johannes,

Thanks a lot.... its working fine..

Regards

Chriss

rajni_batra
Specialist
Specialist

hi,

This one is helpfull for you.

Regards

Rajni.