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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do we find number of days between two dates


Hi,

How do we find number of days between two dates,let suppose from 01/09/2014 to current date.

any suggestions

Thanks

1 Solution

Accepted Solutions
MarcoWedel

even

today() - '01/09/2014'


works, if the date string matches your DateFormat variable.

View solution in original post

4 Replies
Anonymous
Not applicable
Author

date(date#('01/09/2014','DD/MM/YYYY') - today()

avinashelite

Hi Swathi,

Use networkingday() function

eg: networkingday(Startdate,enddate)

MarcoWedel

or


today() - date#('01/09/2014','DD/MM/YYYY')


to get a positive number of days



regards


Marco

MarcoWedel

even

today() - '01/09/2014'


works, if the date string matches your DateFormat variable.