WorksheetFunction.Days Method (Excel)

Returns the number of days between the two dates.

Syntax

expression. Days(Arg1, Arg2)

expression A variable that represents aWorksheetFunction Object (Excel) object.

Parameters

Name Required/Optional Data type Description
Arg1 Required VARIANT start_date(Arg2) and end_date (Arg1) are the two dates between which you want to know the number of days.
Arg2 Required VARIANT start_date(Arg2) and end_date (Arg1) are the two dates between which you want to know the number of days.

Return value

DOUBLE

See also

WorksheetFunction Object