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 in MMM-YY fromat.

Hi,

When i tried to convert the date into MMM-YY format, i am getting the results as below. please let me know how to get it in MMM-YY format.

Capture.PNG

4 Replies
Not applicable
Author

date(R_MonthYear,'MMM-YY')

nizamsha
Specialist II
Specialist II

Date(MonthYear,'MMM-YYYY')

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Try date#(DATEFIELD,'DD-MM-YYY') as Datefield.

Hope this helps

Best Regards,

Gabriel

MayilVahanan

HI

Try like this

date(R_MonthYear,'MMM-YY')

But what is original format of R_MonthYear? is in correct date format? if not, use

suppose R_MonthYear is in MMMDDYYYY, then use like below


date(date#(R_MonthYear,'MMMDDYYYY'),'MMM-YY')

hope it helps

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