Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
microwin88x
Creator III
Creator III

# Years Between Dates

Hello,

I need to create a field with the number of years between a date and the 31/12 from the year I run the script.

(In this case would be 31/12/2017 but next year would be 31/12/2018).

I previously had AGE(TODAY(), MY_DATE) but I need to modify the function.

Do you know how to do that?

Thank you!

1 Solution

Accepted Solutions
marcus_malinow
Partner - Specialist III
Partner - Specialist III

AGE(YearEnd(Today()), MY_DATE) perhaps

View solution in original post

2 Replies
marcus_malinow
Partner - Specialist III
Partner - Specialist III

AGE(YearEnd(Today()), MY_DATE) perhaps

Anil_Babu_Samineni

May be NetWorkDays function you mean to say or YearEnd() function for Today() declaration.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful