Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How do I correctly Load my Data as Timestamp on Qlik?
My data is of this format: 2023-12-19T12:36:53.630
I need to Load data as a timestamp. Also, how do I create a query segregating the Data and time into 2 different columns on Qlik?
Try these.
Timestamp(Timestamp#(FieldName,'YYYY-MM-DDThh:mm:ss.fff'),'YYYY-MM-DD hh:mm:ss') as DateTime,
Date(Floor(Timestamp#(FieldName),'YYYY-MM-DDThh:mm:ss.fff'),'YYYY-MM-DD') as Date,
Time(Frac(Timestamp#(FieldName),'YYYY-MM-DDThh:mm:ss.fff'),'hh:mm:ss') as Time,
if you have a text field (date and time as text)