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: 
igdrazil
Creator III
Creator III

Date Extrapolation

Hi Community,

as the title says, i wanna know if i can extrapolate my Dates.

Right now i'm doing this via:

Date(Date(Pickdate) + x*365)

x is a Variable set to any integer Value.

So it adds a "normal" year by adding 365 days but we have 366 days a year every 4 years, so when my x is getting bigger, i get wrong dates.

Regards

Chris

1 Solution

Accepted Solutions
rubenmarin

Hi Christoph, there is a AddYears() function:

AddYears(Date, [Number of years to add])

View solution in original post

2 Replies
rubenmarin

Hi Christoph, there is a AddYears() function:

AddYears(Date, [Number of years to add])

igdrazil
Creator III
Creator III
Author

Hi Ruben,

thanks for your reply!

Regards

Chris