I am working in Oracle APEX, i want to Subtract Att_In
from Att_Out
to acquire the value in MINUTES
format.I tried different Queries but giving me the wrong answer or some times give the value in Decimal. Here is the Query.
select (to_char(att_In,'HH24:MM:SS')) as time_In,(to_char(att_out,'HH24:MM:SS')) as time_out from attendance;
select to_char(att_In,'DD-MM-YYYY HH24:MM:SSAM'),to_char(att_out,'DD-MM-YYYY HH24:MM:SSAM'),(att_out-att_in) from attendance;
I need the value in Time Format