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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
DrGenious
Creator
Creator

UNIX EPOCH to date

Hey,

 

I have a date "1569387782831" it is unix epoch and I want to convert it to human readable date with tjavarow. Can someone help please?

 

Thanks.

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

3 Replies
TRF
Champion II
Champion II

DrGenious
Creator
Creator
Author

Untitled.png

@TRF  Thanks a lot for the quick response it was very helpful but I have one more question. Instead of printing it with system.out how can I parse it into a row? For example output_row.created_time . I asked it because it shows me an error cant convert from string to date, but I changed in my schema the type from string to date with pattern.

TRF
Champion II
Champion II

This should work:
output_row.created_time = sdf.format(new Date(utime)));