public static TimeSpan Distance( this DateOnly startDate, DateOnly endDate )
Dim startDate As DateOnly Dim endDate As DateOnly Dim returnValue As TimeSpan returnValue = startDate.Distance(endDate)
public: [ExtensionAttribute] static TimeSpan Distance( DateOnly startDate, DateOnly endDate )
No code example is currently available or this language may not be supported.
In This Article