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

# CFTimeZoneGetSecondsFromGMT(_:_:)

Returns the difference in seconds between the receiver and Greenwich Mean Time (GMT) at the specified date.

```
func CFTimeZoneGetSecondsFromGMT(_ tz: CFTimeZone!, _ at: CFAbsoluteTime) -> CFTimeInterval
```

## Parameters

`tz`

The time zone to analyze.

`at`

The date at which the interval is to be computed.

## Return Value

The difference in seconds between `tz` and GMT at the specified date, `at`.

## 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)