Year

Extracts year from a date \ datetime

Year("2023-11-04 05:19:58.000") → 2023
Year("2018-01-29") → 2018

Inputs

Year(dateTime)

  • dateTime - Date, time, or datetime value