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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

String to Date.

Good Day,

     i have a string that like this

    testtesttest 2012-12-30

      but the problem is

     i've already reperate the date via subfields,

     but the problem is the convertion of  2012-12-30 to date.

     i already use Date# then convert to Date, but the output is null.

     any idea thanks!

     Regards

1 Solution

Accepted Solutions
somenathroy
Creator III
Creator III

 

Date(Date#(Right(Trim('testtesttest 2012-12-30'),10),'YYYY-MM-DD'),'DD/MM/YYYY')

View solution in original post

2 Replies
somenathroy
Creator III
Creator III

 

Date(Date#(Right(Trim('testtesttest 2012-12-30'),10),'YYYY-MM-DD'),'DD/MM/YYYY')

sudeep_d
Partner - Creator
Partner - Creator

date(date#(right('testtesttest 2012-12-30',10),'YYYY-MM-DD'),'MM/DD/YYYY')