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

Date to Month and Year

30-Jul-18

I have this date value as above and column is called ExpDate and I want to convert this to Month and Year.

I tried

year(ExpDate ) for Year

Month(ExpDate ) For Month.

Both doesnt work

Thank you.

1 Reply
sunny_talwar

May be this:

LOAD *,

          Month(ExpDate) as Month,

          Year(ExpDate) as Year;

LOAD Date#(ExpDate, 'DD-MMM-YY') as ExpDate

FROM Source