Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
rathnam_qv
Creator
Creator

Date issue?

Hi All,

i am pulling one date field from text file Which is like (171217) YYMMDD format.

But i am doubting whether qlik is treating it as Date or not.

Where can i check the data type (how can i change the type to Date)?

Thanks,

Muni.

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this,

Date(Date#(DateField,'YYMMDD'),'MM/DD/YYYY')

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

5 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Just load the data,

On sheet add the filter of that field.

If values are on right side it is number else it is Text.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
rathnam_qv
Creator
Creator
Author

Thank you Kaushik.

I found it as number.

Now, how to change it to Date?

i tried in script Date(Datefield,'MM/DD/YYYY') but it is wrong dates.

Regards,

Muni.

kenphamvn
Creator III
Creator III

Hi

Try this

date(date#('171217','YYMMDD'),'MM/DD/YYYY')

Regards

An Pham

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this,

Date(Date#(DateField,'YYMMDD'),'MM/DD/YYYY')

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
rathnam_qv
Creator
Creator
Author

Thank you AN Pham.

Yours also Correct Answer. Thanks for your valuable time.

Thanks & Regards,

Muni.