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: 
David_K
Contributor III
Contributor III

Convert Excel String to Date when loading file

Hi all fellow Qlik users,

I am just starting my journey with Qlik, and have a question regarding date formats when loading from a CSV file where they are stored as a String.  Is this possible to convert from the string format to a date format (ideally dd-mm-yy).

Any guidance given will be gratefully received.

 

Thanks

 

Labels (3)
2 Solutions

Accepted Solutions
Chanty4u
MVP
MVP

Hi 

Yes. try below

 

     Date(Date#(YourDateField,'YYYYMMDD'),'DD/MM/YYYY') as Orderdate 

 

Date(Date#(YourDateField,'InputCSVDateformat'),'Outputformat') as Orderdate 

View solution in original post

David_K
Contributor III
Contributor III
Author

Thank you for your support.  This solution worked perfectly for me.

View solution in original post

2 Replies
Chanty4u
MVP
MVP

Hi 

Yes. try below

 

     Date(Date#(YourDateField,'YYYYMMDD'),'DD/MM/YYYY') as Orderdate 

 

Date(Date#(YourDateField,'InputCSVDateformat'),'Outputformat') as Orderdate 

David_K
Contributor III
Contributor III
Author

Thank you for your support.  This solution worked perfectly for me.