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: 
bhavvibudagam
Creator II
Creator II

Timestamp format

Hi Experts,

Can any one please help me on converting below START TIME and END TIME to Time stamp like 2017-01-23 13:38:23(YYYY-MM-DD hh:mm:ss) from these need to calculate the duration like hh:mm

I have used the below expression but not working getting -.

Timestamp#(Timestamp(START_TIME,'YYYYMMDDhhmmss'),'YYYY-MM-DD hh:mm:ss')

Please help me on this

Thanks in advance

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try like:

interval(Timestamp#(END_TIME,'YYYYMMDDhhmmss') - Timestamp#(START_TIME,'YYYYMMDDhhmmss'),'hh:mm')

View solution in original post

1 Reply
tresB
Champion III
Champion III

Try like:

interval(Timestamp#(END_TIME,'YYYYMMDDhhmmss') - Timestamp#(START_TIME,'YYYYMMDDhhmmss'),'hh:mm')