[This is preliminary documentation and is subject to change.]
Returns the exact difference between two date/times.

C# | Visual Basic | Visual C++ |
public static Period Between( LocalDateTime start, LocalDateTime end )
Public Shared Function Between ( _ start As LocalDateTime, _ end As LocalDateTime _ ) As Period
public: static Period^ Between( LocalDateTime start, LocalDateTime end )

- start (LocalDateTime)
- Start date/time
- end (LocalDateTime)
- End date/time

The period between the two date and time values, using all units.

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)