Answers for "get hour from date swift"

0

swift get current hour

let hour = Calendar.current.component(.hour, from: Date())
Posted by: Guest on June-09-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language