Easy Tutorial
❮ Func Instrrev Func Cdate ❯

VBScript Year Function



The Year function returns a number representing the year.

Syntax

Parameter Description
date Required. Any expression that can represent a date.

Example

Example

The output of the above example:


❮ Func Instrrev Func Cdate ❯