Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Not applicable

convert to date format YYYY/MM/DD?

Date(Date#(Subfield(created_time,'-',1) &'/'& Subfield(created_time,'-',2) &'/'& Subfield(created_time,'T',3) ,'YYYY/MM/DD'),'YYYY/MM/DD')as [newdate],

This is not working.

fb_date.png

1 Solution

Accepted Solutions
Highlighted

Re: convert to date format YYYY/MM/DD?

May be this:

Date(Date#(Left(created_time, 10), 'YYYY-MM-DD'), 'YYYY/MM/DD') as NewDate

View solution in original post

4 Replies
Highlighted

Re: convert to date format YYYY/MM/DD?

May be this:

Date(Date#(Left(created_time, 10), 'YYYY-MM-DD'), 'YYYY/MM/DD') as NewDate

View solution in original post

Highlighted
MVP & Luminary
MVP & Luminary

Re: convert to date format YYYY/MM/DD?

Maybe like this:

Date(Floor(Timestamp#(created_time, 'YYYY-MM-DDThh:mm:ss+ffff')),'YYYY/MM/DD')

If not, please post a source data file.


talk is cheap, supply exceeds demand
Highlighted
Not applicable

Re: convert to date format YYYY/MM/DD?

Thank you

Highlighted
Not applicable

Re: convert to date format YYYY/MM/DD?

Thank you