Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

converting a date 19may2017:10:50:00 into date

hi,

i am struggling to convert a date field which has the format in 19may2017:10:50:00 as date. The data is being loaded from SQL table and this how i am getting it. i am trying to make the change in the SQL load but not being successful

could you please assist?

1 Solution

Accepted Solutions
antoniotiman
Honored Contributor III

Re: converting a date 19may2017:10:50:00 into date

Hi Marvin,

may be Preceding LOAD like

LOAD Date(Floor(Timestamp#(Date,'DDMMMYYY:hh:mm:ss'))) as Date;

SQL Select Date

From.....

Regards,

Antonio

2 Replies

Re: converting a date 19may2017:10:50:00 into date

This?

=Date(Date#('19may2017:10:50:00', 'DDMMMYYYY:hh:mm:ss'),'DD-MM-YYYY')

antoniotiman
Honored Contributor III

Re: converting a date 19may2017:10:50:00 into date

Hi Marvin,

may be Preceding LOAD like

LOAD Date(Floor(Timestamp#(Date,'DDMMMYYY:hh:mm:ss'))) as Date;

SQL Select Date

From.....

Regards,

Antonio

Community Browser