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 days in the specified year.

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

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static <int> GetDaysInYear(
	 context,
	int year
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function GetDaysInYear ( _
	context As , _
	year As Integer _
) As (Of Integer)

Parameters

context
IContext
The context.
year
Int32
The year (1 through 9999).

Return Value

The number of days in the specified year.

See Also

Advanced