Swift 5 Obtenez l'année en cours
let year = Calendar.current.component(.year, from: Date())
Wicked Wolf
let year = Calendar.current.component(.year, from: Date())