Click or drag to resize
IBasisPartDaysBetween Method
Returns the number of days from date1 to date2.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
int DaysBetween(
	DateTime date1,
	DateTime date2
)

Parameters

date1
Type: SystemDateTime
A DateTime object containing the initial date.
date2
Type: SystemDateTime
A DateTime object containing the final date.

Return Value

Type: Int32
A int which specifies the number of days from date1 to date2.
See Also