Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
i have epoch timestamp in the below format,
1669305600000
166930560000
1669305600001
1669305600003
1669305600005
1669305600006
1669305600006
1669305600006
Can you please suggest how to convert epoch timestamp to our normal timestamp?
Thanks,
I think your timestamps have millisecond resolution:
table1:
LOAD *,
Date(Floor(timestart/86400000+25569)) as DateStart,
Timestamp(timestart/86400000+25569,'MM/DD/YYYY hh:mm:ss.fff') as DateTimeStart
Inline [
timestart
1669305600000
1669305600001
1669305600003
1669305600005
1669305600006
];
Check this post.
https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/td-p/125896
Hi,
Thanks for the reply,
But I am not getting the date in right format after doing this.
I used the below code,
T1:
load * Inline
[ timestart
1669305600000
1669305600001
1669305600001
1669305600003
1669305600005
1669305600006
1669305600006
1669305600006
];
[time]:
load
timestart,
date(floor(timestart/ 86400 + 25569)) as DateStart
Resident T1;
I think your timestamps have millisecond resolution:
table1:
LOAD *,
Date(Floor(timestart/86400000+25569)) as DateStart,
Timestamp(timestart/86400000+25569,'MM/DD/YYYY hh:mm:ss.fff') as DateTimeStart
Inline [
timestart
1669305600000
1669305600001
1669305600003
1669305600005
1669305600006
];