Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change Timestamp format to MM/DD/YY Format in Listbox


Hi,

I have a listbox showing Date Field in a timestamp format(3/24/2011 12:00:00 AM).I want to display it in MM/DD/YY format.

=Date(timestamp#(ALIGNMENT_DT,'DD/MM/YYYY hh:mm:ss'),'DD/MM/YY')

But my expression is not working correctly.

Plz suggest.

Thanks.

1 Solution

Accepted Solutions
Not applicable
Author

Thanks guys.Changed the  Format pattern in Number to MM/YY/YY.

View solution in original post

10 Replies
swuehl
MVP
MVP

I think your format codes are not correct, please check the HELP.

Given your information, I would try

=Date(floor(timestamp#(ALIGNMENT_DT,'MM/DD/YYYY hh:mm:ss TT')),'MM/DD/YY')

Not applicable
Author

Hi,

I have tried that too.it didn't work out.

Thanks for quick reply.

maternmi
Creator II
Creator II

Hi

have you tried ?

=date(timestamp,'DD/MM/YYYY')

Regards,

Michael

swuehl
MVP
MVP

Seems to work for me.

Not applicable
Author

Hi Have you try this

=Date(num(Date#(ALIGNMENT_DT,'DD/MM/YYYY')),'MM/DD/YYYY')

Not applicable
Author

Thanks guys.Changed the  Format pattern in Number to MM/YY/YY.

Not applicable
Author

fixed your problem??

Not applicable
Author

Yes Nirmal.Fixed it.

Not applicable
Author

Then paste your answer and close this thread