CFAbsoluteTimeGetWeekOfYear(_:_:)
Returns an integer representing the week of the year indicated by the specified absolute time.
Declaration
func CFAbsoluteTimeGetWeekOfYear(_ 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-53) representing the week of the year specified by at. The numbering follows the ISO 8601 definition of week.