Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
New-here1
Contributor III
Contributor III

Change non uniform dates to uniform

Hi All, 

I have a dataset that has 3 different date formats, for example:

- 19th & 20th January

- 19/01/2024

- Dec-2023

Is there a way to make these dates all uniform? I would like them to be DD/MM/YYYY

Thank you

Labels (1)
1 Solution

Accepted Solutions
Rohan
Specialist
Specialist

Hi,

Try this :

Date(Alt(Date#(Field,'DD/MM/YYYY'),Date#(Field,'MMM-YYYY'),Field),'DD/MM/YYYY') as Date

Regards,

Rohan.

View solution in original post

2 Replies
Rohan
Specialist
Specialist

Hi,

Try this :

Date(Alt(Date#(Field,'DD/MM/YYYY'),Date#(Field,'MMM-YYYY'),Field),'DD/MM/YYYY') as Date

Regards,

Rohan.

New-here1
Contributor III
Contributor III
Author

That worked, thank you @Rohan