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: 
mohan2391
Creator III
Creator III

Format of Date

Hi,

I have a date field as below.

sssss.PNG

How to change the format of this field to "DD/MM/YYYY" ?

Thank You....

12 Replies
mohan2391
Creator III
Creator III
Author

It is not showing anything in list box.sssssssssssssssssssssss.PNG

jjbom1990
Creator
Creator

Using the example of chanty4u‌ :

a:

LOAD * INLINE [

    Mydate

    20150815

    20160912

];

Result1:

LOAD *,

date(Right(Mydate,2)&'-'&Mid(Mydate,5,2)&'-'&left(Mydate,4),'DD/MM/YYYY') as Date

Resident a;

Result:

LOAD *

  ,year(Date) as Year

  ,month(Date) as Month

  ,day(Date) as Day

Resident Result1;

Drop table a;

drop table Result1;

Knipsel.PNG

I don't know what went wrong on your side, but my code worked.

praveenkumar_s
Creator II
Creator II

try this,

Date(REV_REC_DAY,'MM/DD/YYYY') as REV_REC_DAY