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: 
Not applicable

Converting string to date

hi,

i am loading data from SQL and the date format is in varchar and is looking like this 16AUG2016 , i am needing to convert it to date but i am batlling,

16AUG2016

26MAR2015

28AUG2015

03MAY2017

26MAR2015

26MAR2015

26MAR2015

09MAR2017

26MAR2015

13JAN2017

26MAR2015

can anybody assist please

regards,

marvin

15 Replies
madhuqliklondon
Creator II
Creator II

Hi,

may be this

LOAD

Date(Date#(PIS_DATE,'DDMMMYYYY:hh:mm:ss'),'DD-MM-YYYY') As PIS_DATE

FROM

..............

prma7799
Master III
Master III

PFA....

prma7799
Master III
Master III

Did you get right answer?

Not applicable
Author

hi,

Thanks perfect it worked, now just to create the mast calendar for this model.

prma7799
Master III
Master III

I think you marked wrong reply for correct answer ...

Not applicable
Author

sorted ... sorry