Export (0) Print
Expand All
Expand Minimize

WorksheetFunction.Days Method (Excel)

Office 2013

Returns the number of days between the two dates.

Version Added: Excel 2013

expression .Days(Arg1,Arg2)

expression A variable that represents a WorksheetFunction 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

Show:
© 2015 Microsoft