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

Dates

I have a start date. I need to get end date as 3 years from start date. How do I acheive this??

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

EndDate = AddYears(StartDate,3)

View solution in original post

4 Replies
Anonymous
Not applicable
Author

EndDate = AddYears(StartDate,3)

Not applicable
Author

hi ,

for EndDate try this..

    

     YearStart(StartDate, 3)   or  YearEnd(StartDate, 3)      //According to your need

Regards

Ashutosh

MayilVahanan

Hi

Exactly if you  need three years from startDate, then use

AddYears(StartDate,3)

ex: AddYears(Today(),3) gives 11/26/2016

or

You need three years after startDate, then use

YearEnd(StartDate,3)

ex: YearEnd(Today(),3) gives 12/31/2016

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

thank you..