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: 
Azeem2018
Contributor
Contributor

Extract a date from text column / date time stamp

Hi, qlik experts,

 

New to qlik community hardly three days...

 

1)  I have three columns of date which are text format.

 

Format of text/columns: '25-11-2022 00:00' just want to transform it into a date '25-11-2022'.

 

Already tried date,date#,floor#, timestamp including# after seeing in qlik community but couldn't get date format.

 

Currently applied  left and trim functions for calculating difference of two columns, works ok but when I extract one of columns in table chart then text formated date is showing.

 

2) is there any function to convert text format of any column  into date format or vice versa?

Labels (1)
2 Replies
Aditya_Chitale
Specialist
Specialist

have you tried like this ?

Date(floor(date#(date,'DD-MM-YYYY hh:mm')),'DD-MM-YYYY')

Regards,
Aditya

BrunPierre
Partner - Master II
Partner - Master II

Date(Timestamp#([Date Column],'DD-MM-YYYY hh:mm'),'DD-MM-YYYY')