Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
David_K
Creator
Creator

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
Creator
Creator
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
Creator
Creator
Author

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