Javascript GetYear() Function

The getYear() function of date object returns year (in minutes) of the specified date. Use it for example to get year (in minutes) of the specified date.

Syntax

Javascript GetYear() Function Example

This will produce following result