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: 
sagaraperera
Creator
Creator

DAYS

Dear All

I have a two field in pol_policy_from_date and pol_policy_to_date. I want a calculate no of days how to do this.

 

sahara

2 Replies
shiveshsingh
Master
Master

By simply subtracting two dates you get the the difference in days.

 

=pol_policy_from_date -pol_policy_to_date, will give you the difference in days.

fallenangel6
Creator
Creator

i always convert days to floor and then do such manipulations.

floor(pol_policy_to_date)-floor(pol_policy_from_date)