Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Monthname

usually monthname will get you 'MMM YYYY', how can it be done if we want the format to be MMM-YY?

eg;

monthname ( '2001-10-19' ) returns 'Oct 2001' - by default

how to get

'Oct-01' instead of 'Oct 2001'.

3 Replies
jagannalla
Partner - Specialist III
Partner - Specialist III

Try this:

=Date(monthname ( '2001-10-19' ),'MMM YY')

Otherwise you can try

=Date('2001-10-19' ,'MMM YY')

pgalvezt
Specialist
Specialist

Hi, Go to properties - Tab Number (Format) - Date (Yo can change the format date in this option)

Hope Help you!

MayilVahanan

HI

Try like this

=Date(monthname ( '2001-10-19' ),'MMM YYYY')

returns oct 2001

hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.