Oracle DATE is formed of 7 bytes (centuries, years, months, days, hours, minutes, seconds) to compare just the date part of it you should get ridd of the time part. It can be done in different ways. You can use any of them that suites you the best. Below are sample data, SQL Select command with three different Where Clauses all giving the same result.
WITH -- Sample data
tbl (ID, ARRIVING, DEPARTURE) AS
(
Select 1, To_Date('01-04-22 12:00:00', 'dd.mm.yy hh24:mi:ss'), To_Date('01-04-22 12:00:00', 'dd.mm.yy hh24:mi:ss') From Dual Union All
Select 2, To_Date('01-04-22 12:00:00', 'dd.mm.yy hh24:mi:ss'), To_Date('01-04-22 12:00:00', 'dd.mm.yy hh24:mi:ss') From Dual Union All
Select 3, To_Date('01-04-22 12:00:00', 'dd.mm.yy hh24:mi:ss'), To_Date('01-04-22 16:00:00', 'dd.mm.yy hh24:mi:ss') From Dual
)
--
-- SQL
Select ID, ARRIVING, DEPARTURE
From tbl
Where TRUNC(ARRIVING, 'dd') = TRUNC(DEPARTURE, 'dd') -- truncate to the day
-- or
Where To_Char(ARRIVING, 'dd.mm.yyyy') = To_Char(DEPARTURE, 'dd.mm.yyyy') -- convert date part to char
-- or
Where To_Number(To_Char(ARRIVING, 'yyyymmdd')) = To_Number(To_Char(DEPARTURE, 'yyyymmdd')) -- convert date part to number
-- R e s u l t :
ID ARRIVING DEPARTURE
---------- --------- ---------
1 01-APR-22 01-APR-22
2 01-APR-22 01-APR-22
3 01-APR-22 01-APR-22