Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
samvile18
Creator III
Creator III

Script help required please

Morning all,

I have a date field named CRDATE, I need to write some script to tell me the number of working days between CRDATE and Today()...I'm struggling with the syntax, can anyone out there help me please?

Any help is greatly appreciated.

1 Solution

Accepted Solutions
Gysbert_Wassenaar

This should work as long as CRDATE is a date field and not a string: networkdays(CRDATE, today() ). If CRDATE is a string you first have to use the date# function to create a date from it.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

This should work as long as CRDATE is a date field and not a string: networkdays(CRDATE, today() ). If CRDATE is a string you first have to use the date# function to create a date from it.


talk is cheap, supply exceeds demand
samvile18
Creator III
Creator III
Author

Excellent, thanks for the help.