Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift 5 get current year

let year = Calendar.current.component(.year, from: Date())
 
PREVIOUS NEXT
Tagged: #swift #current #year
ADD COMMENT
Topic
Name
2+3 =