ReferenceFunctionsDate & Time Functions
YEAR
Extracts the calendar year from a date serial.
Summary
Extracts the calendar year from a date serial.
Remarks
- Fractional time is ignored; only the integer date portion is used.
- Input serials are interpreted with Excel 1900 date semantics.
- Results are Gregorian calendar years.
Examples
Extract year from date serial
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
2023
Extract year from datetime serial
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
2024
Related functions
FAQ
Does YEAR use the fractional time part of a serial?
No. YEAR resolves the calendar date and ignores time-of-day fractions.
Runtime metadata
Category
Date & Time
Signature
YEAR(arg1: Number)Arity
min 1, max 1
Arguments
arg1Number · Scalar · coercion NumberLenientText
Caps
PURE
Source