Edit

Share via


WorksheetFunction.Days(Object, Object) Method

Definition

Returns the number of days between the two dates.

public:
 double Days(System::Object ^ Arg1, System::Object ^ Arg2);
public double Days (object Arg1, object Arg2);
Public Function Days (Arg1 As Object, Arg2 As Object) As Double

Parameters

Arg1
Object

start_date(Arg2) and end_date (Arg1) are the two dates between which you want to know the number of days.

Arg2
Object

start_date(Arg2) and end_date (Arg1) are the two dates between which you want to know the number of days.

Returns

DOUBLE

Applies to