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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

convert string from text file to Date

Hi,

I just want to ask how to convert a string to date format? Attached is the sample QlikView file and its source which is a text file.

Thanks!

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi,

Use the following expression:

Date(Date#(Timestamp, 'DD-MMM-YY')) AS DateField

Hope that helps.

Miguel

View solution in original post

2 Replies
Miguel_Angel_Baeyens

Hi,

Use the following expression:

Date(Date#(Timestamp, 'DD-MMM-YY')) AS DateField

Hope that helps.

Miguel

Not applicable
Author

I already solved the problem, thanks for your reply sir, I also used that expression and the main problem is that there's a space after the date in our source file so I have to trim it..

Thank you again sir!