This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns the number of whole and fractional hours between two given DateTime values.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static <double> HoursBetween(
	 dt1,
	 dt2
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function HoursBetween ( _
	dt1 As , _
	dt2 As  _
) As (Of )

Parameters

dt1
DateTime
A DateTime value.
dt2
DateTime
Another DateTime value.

Return Value

The number of whole and fractional hours between the given DateTime values.

See Also

Advanced