Noda Time
Between Method (start, end)
NamespacesNodaTimePeriodBetween(LocalDate, LocalDate)

[This is preliminary documentation and is subject to change.]

Returns the exact difference between two dates.
Declaration Syntax
C#Visual BasicVisual C++
public static Period Between(
	LocalDate start,
	LocalDate end
)
Public Shared Function Between ( _
	start As LocalDate, _
	end As LocalDate _
) As Period
public:
static Period^ Between(
	LocalDate start, 
	LocalDate end
)
Parameters
start (LocalDate)
Start date
end (LocalDate)
End date
Return Value
The period between the two dates, using year, month and day units.
Remarks
If end is before start, each property in the returned period will be negative.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)