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

MONTH FORMAT

hi ,

i wnat to extract  month from

MMM YYYY

format .

what should i do ?

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')

tresesco
MVP
MVP

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

Not applicable
Author

left('MMMYYYY',3) as month