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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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
Champion III
Champion III

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
Champion III
Champion III

Did you check my reply.