<!--
{
  "availability" : [
    "iOS: 2.0.0 - 8.0.0",
    "iPadOS: 2.0.0 - 8.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.4.0 - 10.10.0",
    "tvOS: 9.0.0 - 9.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 2.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFAbsoluteTimeGetDayOfWeek(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFAbsoluteTimeGetDayOfWeek"
  },
  "title" : "CFAbsoluteTimeGetDayOfWeek(_:_:)"
}
-->

# CFAbsoluteTimeGetDayOfWeek(_:_:)

Returns an integer representing the day of the week indicated by the specified absolute time.

```
func CFAbsoluteTimeGetDayOfWeek(_ at: CFAbsoluteTime, _ tz: CFTimeZone!) -> Int32
```

## Parameters

`at`

The absolute time to convert.

`tz`

The time zone to use for time correction. Pass `NULL` for 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.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)