Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
raadwiptec
Creator II
Creator II

add months

is there a way to add months for MMM formats


for Ex: months like jan ,feb , mar.,

4 Replies
Anonymous
Not applicable

Yes,

Addmonths(Date(Date#(MonthField&-&YearField,'MMM-YYYY')),NumOfMonthsToAdd)

The number of months could be positive and negative.

Regards!

agomes1971
Specialist II
Specialist II

Hi,

Use AddMonths(startdate, n) where startdate is the date you wish to add to, n is the number of months (negative for prior months)

     AddMonths('2016/09/25', 3)  ->  2016/12/25

HTH

André Gomes

saimahasan
Partner - Creator III
Partner - Creator III

What output do you exactly need??

miguelbraga
Partner - Specialist III
Partner - Specialist III

Hey there,

Can you please calrify better your question. I can't seem to understand what your're trying to accomplish.

Regards,

MB