---
name: "std::chrono::system_clock"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::chrono::system_clock/3cxx"
---

# std::chrono::system\_clock(3cxx)

System clock.

## NAME

std::chrono::system\_clock - System clock.

## SYNOPSIS

`#include <chrono>`

### Public Types

**typedef** **chrono::nanoseconds** **duration**\
 **typedef** duration::period **period**\
 **typedef** duration::rep **rep**\
 **typedef** **chrono::time\_point**\< **system\_clock**, **duration** \> **time\_point**\

### Static Public Member Functions

**static** \_GLIBCXX\_TIME\_BITS64\_ABI\_TAG **time\_point** **from\_time\_t** (**std::time\_t** \_\_t) noexcept\
 **static** **time\_point** **now** () noexcept\
 **static** \_GLIBCXX\_TIME\_BITS64\_ABI\_TAG **std::time\_t** **to\_time\_t** (const **time\_point** &\_\_t) noexcept\

### Static Public Attributes

**static** constexpr bool **is\_steady**\

## Detailed Description

System clock.

Time returned represents wall time from the system-wide clock.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
