Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

MONTH FORMAT

hi ,

i wnat to extract  month from

MMM YYYY

format .

what should i do ?

Labels (1)
3 Replies
its_anandrjs
Champion III
Champion III

Write like

Month(YourDateField) //You get Jan, Feb

If you need 01,02,03,04 then write like

Date(YourDateField,'MM') as Month

Or

Date(YourDateField,'MM')

Or

Date(Date#(Left(YourDateField,3),'MMM'),'MM')

tresB
Champion III
Champion III

Month(Date#(YourData, 'MMM YYYY')) as Month

Not applicable
Author

left('MMMYYYY',3) as month