It looks like you're new here. Sign in or register to get started.
Duration := "Time 2" - "Time 1"
Hours := ((Duration / 1000)/60)/60;
Comments
Duration is the timespan in milliseconds. Just calculate that back to hours yourself.
Duration is of datatype duration
Hours is of datatype decimal
Hope this solves your quest.