Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
RThakore
Contributor II
Contributor II

String 'YYYYMMDD' to Date Format 'MM/DD/YYYY'

I have an extracted  string field which has the date value in the 'YYYYMMDD' format. : '20241002'

I need to convert this extracted string to a  Date value with the following  Format:  'MM/DD/YYYY'

What would be the best way to handle this?

Labels (1)
2 Solutions

Accepted Solutions
diagonjope
Partner - Creator III
Partner - Creator III

Hi @RThakore !

date(date#(YorFieldName, 'YYYYMMDD'), 'MM/DD/YYYY').

Cheers,

+José

View solution in original post

RThakore
Contributor II
Contributor II
Author

Thanks diagonjope, this was just what I needed.

View solution in original post

2 Replies
diagonjope
Partner - Creator III
Partner - Creator III

Hi @RThakore !

date(date#(YorFieldName, 'YYYYMMDD'), 'MM/DD/YYYY').

Cheers,

+José

RThakore
Contributor II
Contributor II
Author

Thanks diagonjope, this was just what I needed.