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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text Date to Number Date?

Is it possible to convert and date in the format, for example, 21 January 2011, into a number date format in QlikView, such as DD/MM/YYYY?

Thanks!

1 Solution

Accepted Solutions
nagaiank
Specialist III
Specialist III

Interpret the external date into number format using date# and then format the internal date into any desired formt using datefunction.

In your case, you may try

date(date#('21 January 2011','DD MMMM YYYY'),'DD/MM/YYYY')

View solution in original post

4 Replies
nagaiank
Specialist III
Specialist III

Interpret the external date into number format using date# and then format the internal date into any desired formt using datefunction.

In your case, you may try

date(date#('21 January 2011','DD MMMM YYYY'),'DD/MM/YYYY')

Not applicable
Author

Thanks for the response. How would i make this work with any text date, rather than just 21 January 2011?

nagaiank
Specialist III
Specialist III

If you replace '21 January 2011' by the field name, the function will handle the value in the field.

An example is attached.

Not applicable
Author

Brilliant, works just as i require. Thanks for the help.