Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
anthony_kinsell
Creator
Creator

Date formatting problem

Hi,

I'm trying to format a date & had entered the below script:

ATDATE,
Date(Left(ATDATE,10),'DD/MM/YYYY') as Date,

However this doesn't seem to be having any effect on the data - see table extract below:

Anyone any ideas as to what I'm doing wrong / missing?

Cheers

Anthony

7 Replies
Colin-Albert

It looks like ATDATE is already formatted as a date.

Try      date(ATDATE) as NewDate

Not applicable

Hello,

Date(Date#(Left(ATDATE,10),'DD/MM/YYYY'),'DD/MM/YYYY') as Date,

avinashelite

use Date#() and then date this will do

Date(Date#(Left(ATDATE,10),'DD/MM/YYYY'),'DD/MM/YYYY') as Date

Anonymous
Not applicable

can you post a sample qvw

anthony_kinsell
Creator
Creator
Author

Thanks for the replies,

Unfortunately none of the suggestions work

avinashelite

can you please share the sample data