Swift 5 получите текущий год
let year = Calendar.current.component(.year, from: Date())
Wicked Wolf
let year = Calendar.current.component(.year, from: Date())