Sorry unable to understand.
I assume you are in forms, as this is the forum.
Make sure both your items are date type, and you just have to substract one date from the other and multiply by 24.
message ('elapsed hours: '|| 24 * (:block.end_date - :block.ini_date));
plsql can substract dates out of the box.