Microsoft® Visual Basic® Scripting Edition
Year Function
Language Reference

See Also


Description
Returns a whole number representing the year.

Syntax

Year(date)

The date argument is any expression that can represent a date. If date contains Null, Null is returned.

© 1997 Microsoft Corporation. All rights reserved. Legal Notices.