|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets the year component of the current date.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(IsDeterministic = true)] public static <int> GetYear() | |
| Visual Basic (Declaration) | |
|---|---|
<(IsDeterministic := True)> _ Public Shared Function GetYear As (Of Integer) | |
Return Value
The year component of the current date.
See Also
DateTimeViperMethods Class
Smartsite.Runtime.Modules Namespace