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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
rajkumarb
Creator II
Creator II

Converting Time Format

Hi Experts

Is there a way of converting Epoch Time format to Qlikview

1421426273 -

1421427272 -

Thanks in Advance

Labels (1)
1 Solution

Accepted Solutions
Colin-Albert
Partner - Champion
Partner - Champion

Assuming that your dates are seconds since 01/01/1970 (Epoch time) I get the following results for date & time conversion.

Epoch.JPG

View solution in original post

6 Replies
Anonymous
Not applicable

That looks more like a plain text time, rather than Linux Epoch Time.

You could try something like this :

     time ( time# ( '1421426273' , 'hhmmssfff' ) , 'hh:mm:ss fff' )

Colin-Albert
Partner - Champion
Partner - Champion

Assuming that your dates are seconds since 01/01/1970 (Epoch time) I get the following results for date & time conversion.

Epoch.JPG

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Timestamp(25569 +MyEpochTimeFieldHere/86400) as MyTimeStamp


talk is cheap, supply exceeds demand
MarcoWedel
MVP
MVP

Hi,

maybe this thread helps:

Date settings

so one solution could be:

= Timestamp(25569 + EpochTimeField / 86400)

hope this helps

regards

Marco

MarcoWedel
MVP
MVP

QlikCommunity_Thread_148669_Pic1.JPG

rajkumarb
Creator II
Creator II
Author

HI Collin


The Value Your Expression Generated is correct Today's Date