6.1.2.4.1.14 Year

Function Declaration

 Function Year(Date As Variant) As Variant 

Parameter

Description

Date

Any data value (section 2.1). The data value SHOULD be Let-coercible to Date.

Runtime Semantics.

§ Date is Let-coerced to Date and an Integer data value specifying a whole number between 100 and 9999, inclusive, representing the year is returned.

§ If Date is Null, Null is returned.