Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
hammermill21
Creator III
Creator III

Changing Time Format

Hello,

I am pulling a timestamp that looks like this:

1541187787161

1531283800843

1541187787161

1531283800843

1541187787161

How can I convert that?

Thank you!

1 Solution

Accepted Solutions
sunny_talwar

Something like this should work

=TimeStamp(MakeDate(1970) + (1541187787161/86400000))

Where 864000000 = 24*60*60*1000

View solution in original post

5 Replies
Ivan_Bozov
Luminary
Luminary

This is UNIX time, see the answer here: https://community.qlik.com/thread/179779

vizmind.eu
dplr-rn
Partner - Master III
Partner - Master III

i was going to suggest timestamp function but those values dont look right.

how does your source system create that time stamp field?

hammermill21
Creator III
Creator III
Author

Hi,

It is UNIX time.

sunny_talwar

Something like this should work

=TimeStamp(MakeDate(1970) + (1541187787161/86400000))

Where 864000000 = 24*60*60*1000

hammermill21
Creator III
Creator III
Author

Thank you Sunny it is working now. And also I read up on it to understand a little more lol.

Have a wonderful day!