Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
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: 
Not applicable

Date- to select month

HI,

how do i select month  for a date.

example:

date : 30 jan 2012, 4 feb 2012

how do i extract only jan and feb and turn the data into 01 for jan, and 02 for feb

tq

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

You can use the Month() function to extract the month from a proper date.

If it's not working, it means that your dates are not properly recognized as dates and you need to define for QlikView the format. For example:

Month(Date#(DATEFIELD, 'DD MMM YYYY')) as Month

View solution in original post

1 Reply
Anonymous
Not applicable
Author

You can use the Month() function to extract the month from a proper date.

If it's not working, it means that your dates are not properly recognized as dates and you need to define for QlikView the format. For example:

Month(Date#(DATEFIELD, 'DD MMM YYYY')) as Month