Header Text Coming Soon! You can Contact Us below anytime!

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

Calculates the years, months, weeks and days within the two given dates

Namespace:  SpiderMaster
Assembly:  SpiderMaster.Net (in SpiderMaster.Net.dll) Version: 0.0.6.0 (0.0.6.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void Extract(
	DateTime advent,
	DateTime terminus,
	out int years,
	out int months,
	out int weeks,
	out int days
)
Public Shared Sub Extract ( _
	advent As DateTime, _
	terminus As DateTime, _
	<OutAttribute> ByRef years As Integer, _
	<OutAttribute> ByRef months As Integer, _
	<OutAttribute> ByRef weeks As Integer, _
	<OutAttribute> ByRef days As Integer _
)
public:
static void Extract(
	DateTime advent, 
	DateTime terminus, 
	[OutAttribute] int% years, 
	[OutAttribute] int% months, 
	[OutAttribute] int% weeks, 
	[OutAttribute] int% days
)

Parameters

advent
DateTime
The advent.
terminus
DateTime
The terminus.
years
Int32%
The years.
months
Int32%
The months.
weeks
Int32%
The weeks.
days
Int32%
The days.

Remarks

Implementation based on http://tommycarlier.blogspot.com/2006/02/years-months-and-days-between-2-dates.html#links

See Also