Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

String to date Qliksense

I am new to Qliksense. I have a field in this format YYYYMMDD000000 I want to convert to date YYYY / MM / DD how can i do?

I tried thid  function date (FieldName, 'YYYYMMDD000000') it did not work

thank you for helping me

Regards,

6 Replies
sunny_talwar

May be try this

Date(Date#(Left(FieldName, 8), 'YYYYMMDD'), 'YYYY/MM/DD') as DateField

Anonymous
Not applicable
Author

thanks!

I put   Date(Date#(dt_enreg_cmde,'YYYYMMDDhhmmss'),'DD/MM/YYYY hh:mm:ss') 🙂

sunny_talwar

I thought you only needed Date part of the string... anyways I am glad you were able to figure it out

its_anandrjs

What is your original date format.

Anonymous
Not applicable
Author

Thanks all!

it's ok.

mananmehta900
Contributor III
Contributor III

Hi.. please try this

=Date(Date#([Field Name], 'YYYYMMDD000000'),'MM/DD/YYYY')