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 format

How to convert date format.

ex: from 8/11/2015 to the format 8-Aug-2015.

Thank you.

1 Solution

Accepted Solutions
sunny_talwar

Do you mean to get 8-Nov-2015 or 11-Aug-2015??

If 8-Nov-2015 -> Date(Date#(DateField, 'D/MM/YYYY'), 'D-MMM-YYYY')

If 11-Aug-2015 -> Date(Date#(DateField, 'M/DD/YYYY'), 'D-MMM-YYYY')

HTH

Best,

Sunny

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

date(date#('8/11/2015','M/D/YYYY'),'D-MMM-YYYY')


talk is cheap, supply exceeds demand
sunny_talwar

Do you mean to get 8-Nov-2015 or 11-Aug-2015??

If 8-Nov-2015 -> Date(Date#(DateField, 'D/MM/YYYY'), 'D-MMM-YYYY')

If 11-Aug-2015 -> Date(Date#(DateField, 'M/DD/YYYY'), 'D-MMM-YYYY')

HTH

Best,

Sunny

Anonymous
Not applicable
Author

hi!

Try.

=Date(Date#('8/11/2015'),'DD-MMM-YYYY')

Regards.