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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date format MMM-YY to DD/MM/YY?

Hi, could someone help me out with this please? I have dates in my data in the format MMM-YY i.e. Aug-14 in text format. I'm trying to convert it to DD/MM/YY with the below MakeDate butnot sure what to put in the "Month" part to make it work?

MakeDate(num(20 & right(Date,2)),?,'01')

Any suggestions orr alternatives to create the date?Many thanks.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

date(date#('Aug-14','MMM-YY'),'DD/MM/YY')

View solution in original post

6 Replies
Anonymous
Not applicable
Author

date(date#('Aug-14','MMM-YY'),'DD/MM/YY')

tresesco
MVP
MVP

Try like:

Load

          Date(Date#(DateField, 'MMM-YY'), 'DD/MM/YY') as NewDate

PrashantSangle

Hi,

You can try like this also

Makedate(Year(date#('Aug-14','MMM-YY')),Month(date#('Aug-14','MMM-YY')),'01')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
MayilVahanan

Hi

Try like this

Load *,

Date(Date#(DateField, 'MMM-YY'), 'DD/MM/YY') as Date

from tablename;

or

Makedate(Year(date#(DateField,'MMM-YY')),Month(date#(DateField,'MMM-YY')))

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

=Date(Date#('Aug-14','MMM-YY'),'DD/MM/YYYY')

or

=Date(Date#(YourFieldName,'MMM-YY'),'DD/MM/YYYY')

Not applicable
Author

Thank you all! Much appreciated!