CFAbsoluteTimeGetDayOfWeek(_:_:)
Returns an integer representing the day of the week indicated by the specified absolute time.
Declaration
func CFAbsoluteTimeGetDayOfWeek(_ at: CFAbsoluteTime, _ tz: CFTimeZone!) -> Int32Parameters
- at:
The absolute time to convert.
- tz:
The time zone to use for time correction. Pass
NULLfor GMT.
Return Value
An integer (1-7) representing the day of the week specified by at. Per ISO-8601, Monday is represented by 1, Tuesday by 2, and so on.