Check out example codes for "Google Sheets How to Count business Days Between Two Dates". It will help you in understanding the concepts better.

Code Example 1

# Basic syntax:
=NETWORKDAYS(start_date, end_date)

# Example:
=NETWORKDAYS("12/01/2019", "02/07/2020")

Code Example 2

# Basic syntax:
=DAYS("end_date", "start_date")

# Example:
=DAYS("01/01/2019","01/01/2018")

# Note, use =NETWORKDAYS for business days

Learn ReactJs, React Native from akashmittal.com