Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Master III
Master III

Hi Marvin,

may be Preceding LOAD like

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

SQL Select Date

From.....

Regards,

Antonio

View solution in original post

2 Replies
Anil_Babu_Samineni

This?

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

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
antoniotiman
Master III
Master III

Hi Marvin,

may be Preceding LOAD like

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

SQL Select Date

From.....

Regards,

Antonio