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

# function::gettimeofday\_s(3stap)

Number of seconds since UNIX epoch

## NAME

function::gettimeofday\_s - Number of seconds since UNIX epoch

## SYNOPSIS

```
    gettimeofday_s:long()
```

## ARGUMENTS

None

## DESCRIPTION

This function returns the number of seconds since the UNIX epoch.

## SEE ALSO0

[*tapset::timestamp\_gtod*(3stap)](/tapset::timestamp_gtod/3stap.md)
