Returns an Integer specifying a whole number between 100 and 9999, inclusive, representing the year.
Syntax:
MathLibObject.GetYear(dtDate As Date)
The GetYear Method (MathLib Object) syntax has these parts:
| Part |
Description |
| MathLibObject |
An object expression that evaluates to a MathLib object. |
| dtDate |
(Required). A date value. |
Remarks:
Use this method to extract the Year portion from any Date.