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: 
jleefjcapital
Creator II
Creator II

How do I format a data in 'JAN2015' format?

I'm trying to format all of my dates into a single format.  I have been using one code (below) for most of the data sets, but I recently came across a data set containing dates in 'JAN2015' format.   How would I need to alter the code below?

Date(Date#("date",'MMYYYY'),'M/D/YYYY') AS DATE,

Thank you,

Jessica

2 Replies
sunny_talwar
MVP
MVP

May be this:

Date(Date#("date",'MMMYYYY'),'M/D/YYYY') as DATE,

or


Date(Date#(Capitalize("date"),'MMMYYYY'),'M/D/YYYY') as DATE,

jleefjcapital
Creator II
Creator II
Author

On a related note, I am also trying to combine two date series (Year column and Month Column) into a single Date column.   Would you be able to help me with this?

Thanks!