Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Date Format

Hi Friends

1/3/2013 0:00
1/4/2013 0:00
1/15/2013 0:00
1/22/2013 0:00
1/24/2013 0:00
1/31/2013 0:00

Pls let me know how to convert above date format to appear as follows in my document

31-MAR-2013

01-APR-2013

1 Solution

Accepted Solutions
SergeyMak
Partner Ambassador
Partner Ambassador

Date(YourDateField,'DD-MMM-YYYY')

Regards,
Sergey

View solution in original post

4 Replies
its_anandrjs

Try with this

Date(Date#(Dates,'M/D/YYYY hh:mm'),'DD-MMM-YYYY') as NewDate;

Eg:-

LOAD Date#(Dates,'M/D/YYYY hh:mm') as Dates,

     Date(Date#(Dates,'M/D/YYYY hh:mm'),'DD-MMM-YYYY') as NewDate;

LOAD * Inline

[

Dates

1/3/2013 0:00

1/4/2013 0:00

1/15/2013 0:00

1/22/2013 0:00

1/24/2013 0:00

1/31/2013 0:00

];

SergeyMak
Partner Ambassador
Partner Ambassador

Date(YourDateField,'DD-MMM-YYYY')

Regards,
Sergey
upaliwije
Creator II
Creator II
Author

Thanks a lot

its_anandrjs

Did you check my reply.