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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
jpjust
Specialist
Specialist

Date Conversion Expression

All,

I need a help here.

I have an date like this - 20201207151612 (After the date 07, it is time stamp)

I want this to be converted as 07/12/2020

Thanks

 

2 Solutions

Accepted Solutions
stevejoyce
Specialist II
Specialist II

makedate(left(20201207151612 ,4), mid(20201207151612,5,2), mid(20201207151612, 7,2))

View solution in original post

Qlik1_User1
Specialist
Specialist

Try this

DATE(Date#(Left(date,8),'YYYYMMDD'),'MM/DD/YYYY')

View solution in original post

4 Replies
stevejoyce
Specialist II
Specialist II

makedate(left(20201207151612 ,4), mid(20201207151612,5,2), mid(20201207151612, 7,2))

Qlik1_User1
Specialist
Specialist

Try this

DATE(Date#(Left(date,8),'YYYYMMDD'),'MM/DD/YYYY')

jpjust
Specialist
Specialist
Author

Thanks Steve for your help.

jpjust
Specialist
Specialist
Author

Thanks.