NETWORKDAYS
Date

Returns the number of whole working days between two dates

Syntax:

=NETWORKDAYS(start_date, end_date, [holidays])

Example:

=NETWORKDAYS("1/1/2023", "12/31/2023")