1. Home
  2. Functions
  3. Date and time
  4. YEAR

YEAR function

Returns the year of a date.

Syntax

=YEAR(serial_number)

Arguments

ArgumentRequiredDescription
serial_numberRequiredThe date

How to use YEAR

YEAR takes 1 required argument. Type =YEAR( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=YEAR(DATE(2024, 3, 15))Result 2024
=YEAR(1)Result 1900

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.