Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
bdgeddam9
Contributor
Contributor

date in qlikview from string format

Hi All,

I have the following script:

t1:

load * inline [

date1

feb 2018,

jan 2018,

march 2018

];

obviously as you can see it is in string format but i need in date and as 01/01/2018  i.e. dd/mm/yyyy format. How to do this

1 Solution

Accepted Solutions
anuj_sharma
Partner - Contributor III
Partner - Contributor III

t1:

load * ,date(date#(date1,'MMM YY'),'MMMYY') as Date inline [

date1

feb 2018,

jan 2018,

march 2018

];

In general, Date(Date#(StringField,'ApparentFormat'),'RequiredFormat') works.

View solution in original post

1 Reply
anuj_sharma
Partner - Contributor III
Partner - Contributor III

t1:

load * ,date(date#(date1,'MMM YY'),'MMMYY') as Date inline [

date1

feb 2018,

jan 2018,

march 2018

];

In general, Date(Date#(StringField,'ApparentFormat'),'RequiredFormat') works.