Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have table that contains this tow columns i want to calculate the duration time in a new column the both column are timestamp data type
Hi @abTech
Please try like below expression
Interval(EndDate - StartDate, 'hh:mm')
Or
Interval(Timestamp(EndDate) - Timestamp(StartDate), 'hh:mm')
Interval(EndDate-StartDate)
Thanks but it try it and showing up like these which i think it's not correct.
is there any other way to do it. thanks for your participation .
@abTech How would you like to have your duration? In hours?
hours and minutes
Retry @MarcoWedel 's suggestion with a format.
Interval(EndDate-StartDate, 'hh:mm')
Hi @abTech
Please try like below expression
Interval(EndDate - StartDate, 'hh:mm')
Or
Interval(Timestamp(EndDate) - Timestamp(StartDate), 'hh:mm')
this also not working
@abTech It's showing hours and minutes correctly, what's your expected output?
Please share
it's should 6 mins the duration!