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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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.