---
name: "function::tz_gmtoff"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::tz_gmtoff"
---

# function::tz\_gmtoff(3stap)

Return local time zone offset

## NAME

function::tz\_gmtoff - Return local time zone offset

## SYNOPSIS

```
    tz_gmtoff()
```

## ARGUMENTS

None

## DESCRIPTION

Returns the local time zone offset (seconds west of UTC), as passed by staprun at script startup only.

## SEE ALSO0

[*tapset::tzinfo*(3stap)](/tapset::tzinfo/3stap.md)
