DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SWIFT
swift get current hour
let hour = Calendar.current.component(.hour, from: Date())
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#swift
#current
#hour
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit