---
name: "std::chrono"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::chrono"
---

# std::chrono(3)

ISO C++ 2011 namespace for date and time utilities.

## NAME

std::chrono - ISO C++ 2011 namespace for date and time utilities.

## SYNOPSIS

### Classes

class **duration**\
 chrono::duration represents a distance between two points in time  struct **duration\_values**\
 duration\_values  class **gps\_clock**\
 class **hh\_mm\_ss**\
 struct **steady\_clock**\
 Monotonic clock.  struct **system\_clock**\
 System clock.  class **tai\_clock**\
 class **time\_point**\
 chrono::time\_point represents a point in time as measured by a clock  struct **treat\_as\_floating\_point**\
 class **tzdb\_list**\
 class **utc\_clock**\

### Typedefs

using **days**\
 days  using **file\_clock**\
 template\<typename \_Duration\> using **file\_time**\
 using **gps\_seconds**\
 template\<typename \_Duration\> using **gps\_time**\
 using **high\_resolution\_clock**\
 Highest-resolution clock.  using **hours**\
 hours  using **local\_days**\
 using **local\_seconds**\
 template\<typename \_Duration\> using **local\_time**\
 using **microseconds**\
 microseconds  using **milliseconds**\
 milliseconds  using **minutes**\
 minutes  using **months**\
 months  using **nanoseconds**\
 nanoseconds  using **seconds**\
 seconds  using **sys\_days**\
 using **sys\_seconds**\
 template\<typename \_Duration\> using **sys\_time**\
 using **tai\_seconds**\
 template\<typename \_Duration\> using **tai\_time**\
 using **utc\_seconds**\
 template\<typename \_Duration\> using **utc\_time**\
 using **weeks**\
 weeks  using **years**\
 years  using **zoned\_seconds**\

### Enumerations

enum class **choose** { **earliest**, **latest** }\

### Functions

template\<typename \_Rep, typename \_Period\> constexpr **enable\_if\_t**\< **numeric\_limits**\< \_Rep \>**::is\_signed**, **duration**\< \_Rep, \_Period \> \> **abs** (**duration**\< \_Rep, \_Period \> \_\_d)\
 template\<typename \_ToDur, typename \_Rep, typename \_Period\> constexpr \_\_enable\_if\_is\_duration\< \_ToDur \> **ceil** (const **duration**\< \_Rep, \_Period \> &\_\_d)\
 template\<typename \_ToDur, typename \_Clock, typename \_Dur\> constexpr **enable\_if\_t**\< \_\_is\_duration\_v\< \_ToDur \>, **time\_point**\< \_Clock, \_ToDur \> \> **ceil** (const **time\_point**\< \_Clock, \_Dur \> &\_\_tp)\
 template\<typename \_DestClock, typename \_SourceClock, typename \_Duration\> \
 requires \_\_detail::\_\_clock\_convs\<\_DestClock, \_SourceClock, \_Duration\> \|\| \_\_detail::\_\_clock\_convs\_sys\<\_DestClock, \_SourceClock, \_Duration\> \|\| \_\_detail::\_\_clock\_convs\_utc\<\_DestClock, \_SourceClock, \_Duration\> \|\| \_\_detail::\_\_clock\_convs\_sys\_utc\<\_DestClock, \_SourceClock, \_Duration\> \|\| \_\_detail::\_\_clock\_convs\_utc\_sys\<\_DestClock, \_SourceClock, \_Duration\>auto **clock\_cast** (const **time\_point**\< \_SourceClock, \_Duration \> &\_\_t)"\
 Convert a time point to a different clock.  const time\_zone \* **current\_zone** ()\
 template\<typename \_ToDur, typename \_Rep, typename \_Period\> constexpr \_\_enable\_if\_is\_duration\< \_ToDur \> **duration\_cast** (const **duration**\< \_Rep, \_Period \> &\_\_d)\
 template\<typename \_ToDur, typename \_Rep, typename \_Period\> constexpr \_\_enable\_if\_is\_duration\< \_ToDur \> **floor** (const **duration**\< \_Rep, \_Period \> &\_\_d)\
 template\<typename \_ToDur, typename \_Clock, typename \_Dur\> constexpr **enable\_if\_t**\< \_\_is\_duration\_v\< \_ToDur \>, **time\_point**\< \_Clock, \_ToDur \> \> **floor** (const **time\_point**\< \_Clock, \_Dur \> &\_\_tp)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, day &\_\_d, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Rep, typename \_Period, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, **duration**\< \_Rep, \_Period \> &\_\_d, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, file\_time\< \_Duration \> &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, gps\_time\< \_Duration \> &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, local\_time\< \_Duration \> &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, month &\_\_m, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, month\_day &\_\_md, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, sys\_time\< \_Duration \> &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, tai\_time\< \_Duration \> &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, utc\_time\< \_Duration \> &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, weekday &\_\_wd, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, year &\_\_y, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, year\_month &\_\_ym, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc = allocator\<\_CharT\>\> **basic\_istream**\< \_CharT, \_Traits \> & **from\_stream** (**basic\_istream**\< \_CharT, \_Traits \> &\_\_is, const \_CharT \*\_\_fmt, year\_month\_day &\_\_ymd, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> \*\_\_abbrev=nullptr, **minutes** \*\_\_offset=nullptr)\
 template\<typename \_Duration\> leap\_second\_info **get\_leap\_second\_info** (const utc\_time\< \_Duration \> &\_\_ut)\
 const tzdb & **get\_tzdb** ()\
 **tzdb\_list** & **get\_tzdb\_list** ()\
 constexpr bool **is\_am** (const **hours** &\_\_h) noexcept\
 True if a chrono::hours value represents a time before midday.  constexpr bool **is\_pm** (const **hours** &\_\_h) noexcept\
 True if a chrono::hours value represents a time after midday.  template\<typename \_Duration\> \_\_detail::\_\_local\_time\_fmt\< \_Duration \> **local\_time\_format** (local\_time\< \_Duration \> \_\_time, const **string** \*\_\_abbrev=nullptr, const **seconds** \*\_\_offset\_sec=nullptr)\
 const time\_zone \* **locate\_zone** (string\_view \_\_tz\_name)\
 constexpr **hours** **make12** (const **hours** &\_\_h) noexcept\
 Convert a 24-hour time into a 12-hour time.  constexpr **hours** **make24** (const **hours** &\_\_h, bool \_\_is\_pm) noexcept\
 Convert a 12-hour time and p.m. flag into a 24-hour time.  template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const day &\_\_d)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const file\_time\< \_Duration \> &\_\_t)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const gps\_time\< \_Duration \> &\_\_t)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const **hh\_mm\_ss**\< \_Duration \> &\_\_hms)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const local\_info &\_\_li)\
 Writes a local\_info object to an ostream in an unspecified format.  template\<typename \_CharT, typename \_Traits, typename \_Duration\> \
 requires requires(const sys\_time\<\_Duration\>& \_\_st) { \_\_os \<\< \_\_st; }**basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const local\_time\< \_Duration \> &\_\_lt)"\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const month &\_\_m)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const month\_day &\_\_md)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const month\_day\_last &\_\_mdl)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const month\_weekday &\_\_mwd)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const month\_weekday\_last &\_\_mwdl)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const sys\_days &\_\_dp)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const sys\_info &\_\_i)\
 Writes a sys\_info object to an ostream in an unspecified format.  template\<typename \_CharT, typename \_Traits, typename \_Duration\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const sys\_time\< \_Duration \> &\_\_tp)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const tai\_time\< \_Duration \> &\_\_t)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const utc\_time\< \_Duration \> &\_\_t)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const weekday &\_\_wd)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const weekday\_indexed &\_\_wdi)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const weekday\_last &\_\_wdl)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const year &\_\_y)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const year\_month &\_\_ym)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const year\_month\_day &\_\_ymd)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const year\_month\_day\_last &\_\_ymdl)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const year\_month\_weekday &\_\_ymwd)\
 template\<typename \_CharT, typename \_Traits\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const year\_month\_weekday\_last &\_\_ymwdl)\
 template\<typename \_CharT, typename \_Traits, typename \_Duration, typename \_TimeZonePtr\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const zoned\_time\< \_Duration, \_TimeZonePtr \> &\_\_t)\
 template\<typename \_CharT, typename \_Traits, typename \_Rep, typename \_Period\> **basic\_ostream**\< \_CharT, \_Traits \> & **operator\<\<** (**std::basic\_ostream**\< \_CharT, \_Traits \> &\_\_os, const **duration**\< \_Rep, \_Period \> &\_\_d)\
 template\<typename \_Dur1, typename \_TZPtr1, typename \_Dur2, typename \_TZPtr2\> bool **operator==** (const zoned\_time\< \_Dur1, \_TZPtr1 \> &\_\_x, const zoned\_time\< \_Dur2, \_TZPtr2 \> &\_\_y)\
 template\<typename \_CharT, \_\_detail::\_\_parsable\< \_CharT \> \_Parsable\> auto **parse** (const \_CharT \*\_\_fmt, \_Parsable &\_\_tp)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc, typename \_StrT = basic\_string\<\_CharT, \_Traits, \_Alloc\>, \_\_detail::\_\_parsable\< \_CharT, \_Traits, \_StrT \> \_Parsable\> auto **parse** (const \_CharT \*\_\_fmt, \_Parsable &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_abbrev)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc, typename \_StrT = basic\_string\<\_CharT, \_Traits, \_Alloc\>, \_\_detail::\_\_parsable\< \_CharT, \_Traits, \_StrT, **minutes** \> \_Parsable\> auto **parse** (const \_CharT \*\_\_fmt, \_Parsable &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_abbrev, **minutes** &\_\_offset)\
 template\<typename \_CharT, typename \_Traits = char\_traits\<\_CharT\>, typename \_StrT = basic\_string\<\_CharT, \_Traits\>, \_\_detail::\_\_parsable\< \_CharT, \_Traits, \_StrT, **minutes** \> \_Parsable\> auto **parse** (const \_CharT \*\_\_fmt, \_Parsable &\_\_tp, **minutes** &\_\_offset)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc, \_\_detail::\_\_parsable\< \_CharT, \_Traits \> \_Parsable\> auto **parse** (const **basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_fmt, \_Parsable &\_\_tp)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc, typename \_StrT = basic\_string\<\_CharT, \_Traits, \_Alloc\>, \_\_detail::\_\_parsable\< \_CharT, \_Traits, \_StrT \> \_Parsable\> auto **parse** (const **basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_fmt, \_Parsable &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_abbrev)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc, typename \_StrT = basic\_string\<\_CharT, \_Traits, \_Alloc\>, \_\_detail::\_\_parsable\< \_CharT, \_Traits, \_StrT, **minutes** \> \_Parsable\> auto **parse** (const **basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_fmt, \_Parsable &\_\_tp, **basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_abbrev, **minutes** &\_\_offset)\
 template\<typename \_CharT, typename \_Traits, typename \_Alloc, typename \_StrT = basic\_string\<\_CharT, \_Traits\>, \_\_detail::\_\_parsable\< \_CharT, \_Traits, \_StrT, **minutes** \> \_Parsable\> auto **parse** (const **basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_fmt, \_Parsable &\_\_tp, **minutes** &\_\_offset)\
 const tzdb & **reload\_tzdb** ()\
 **string** **remote\_version** ()\
 template\<typename \_ToDur, typename \_Rep, typename \_Period\> constexpr **enable\_if\_t**\< \_\_and\_\< \_\_is\_duration\< \_ToDur \>, \_\_not\_\< **treat\_as\_floating\_point**\< typename \_ToDur::rep \> \> \>::value, \_ToDur \> **round** (const **duration**\< \_Rep, \_Period \> &\_\_d)\
 template\<typename \_ToDur, typename \_Clock, typename \_Dur\> constexpr **enable\_if\_t**\< \_\_is\_duration\_v\< \_ToDur \> &&!treat\_as\_floating\_point\_v\< typename \_ToDur::rep \>, **time\_point**\< \_Clock, \_ToDur \> \> **round** (const **time\_point**\< \_Clock, \_Dur \> &\_\_tp)\
 template\<typename \_ToDur, typename \_Clock, typename \_Dur\> constexpr \_\_enable\_if\_t\< \_\_is\_duration\< \_ToDur \>::value, **time\_point**\< \_Clock, \_ToDur \> \> **time\_point\_cast** (const **time\_point**\< \_Clock, \_Dur \> &\_\_t)\
 **zoned\_time** () -\> zoned\_time\< **seconds** \>\
 template\<typename \_TimeZonePtrOrName\> **zoned\_time** (\_TimeZonePtrOrName &&) -\> zoned\_time\< **seconds**, \_\_time\_zone\_representation\< \_TimeZonePtrOrName \> \>\
 template\<typename \_TimeZonePtrOrName, typename \_Duration\> **zoned\_time** (\_TimeZonePtrOrName &&, local\_time\< \_Duration \>, choose=choose::earliest) -\> zoned\_time\< **common\_type\_t**\< \_Duration, **seconds** \>, \_\_time\_zone\_representation\< \_TimeZonePtrOrName \> \>\
 template\<typename \_TimeZonePtrOrName, typename \_Duration\> **zoned\_time** (\_TimeZonePtrOrName &&, sys\_time\< \_Duration \>) -\> zoned\_time\< **common\_type\_t**\< \_Duration, **seconds** \>, \_\_time\_zone\_representation\< \_TimeZonePtrOrName \> \>\
 template\<typename \_Duration, typename \_TimeZonePtrOrName, typename \_TimeZonePtr2\> **zoned\_time** (\_TimeZonePtrOrName &&, zoned\_time\< \_Duration, \_TimeZonePtr2 \>, choose=choose::earliest) -\> zoned\_time\< **common\_type\_t**\< \_Duration, **seconds** \>, \_\_time\_zone\_representation\< \_TimeZonePtrOrName \> \>\
 template\<typename \_Duration\> **zoned\_time** (sys\_time\< \_Duration \>) -\> zoned\_time\< **common\_type\_t**\< \_Duration, **seconds** \> \>\

template\<typename \_Clock, typename \_Dur1, three\_way\_comparable\_with\< \_Dur1 \> \_Dur2\> constexpr auto **operator\<=\>** (const **time\_point**\< \_Clock, \_Dur1 \> &\_\_lhs, const **time\_point**\< \_Clock, \_Dur2 \> &\_\_rhs)\
 template\<typename \_Clock, typename \_Dur1, typename \_Dur2\> constexpr bool **operator\<** (const **time\_point**\< \_Clock, \_Dur1 \> &\_\_lhs, const **time\_point**\< \_Clock, \_Dur2 \> &\_\_rhs)\
 template\<typename \_Clock, typename \_Dur1, typename \_Dur2\> constexpr bool **operator\<=** (const **time\_point**\< \_Clock, \_Dur1 \> &\_\_lhs, const **time\_point**\< \_Clock, \_Dur2 \> &\_\_rhs)\
 template\<typename \_Clock, typename \_Dur1, typename \_Dur2\> constexpr bool **operator\>** (const **time\_point**\< \_Clock, \_Dur1 \> &\_\_lhs, const **time\_point**\< \_Clock, \_Dur2 \> &\_\_rhs)\
 template\<typename \_Clock, typename \_Dur1, typename \_Dur2\> constexpr bool **operator\>=** (const **time\_point**\< \_Clock, \_Dur1 \> &\_\_lhs, const **time\_point**\< \_Clock, \_Dur2 \> &\_\_rhs)\

### Variables

constexpr month **April**\
 constexpr month **August**\
 constexpr month **December**\
 constexpr month **February**\
 constexpr weekday **Friday**\
 template\<typename \_Tp\> constexpr bool **is\_clock\_v**\
 template\<typename \_Tp\> constexpr bool **is\_clock\_v\< \_Tp \>**\
 template\<\> constexpr bool **is\_clock\_v\< file\_clock \>**\
 template\<\> constexpr bool **is\_clock\_v\< gps\_clock \>**\
 template\<\> constexpr bool **is\_clock\_v\< steady\_clock \>**\
 template\<\> constexpr bool **is\_clock\_v\< system\_clock \>**\
 template\<\> constexpr bool **is\_clock\_v\< tai\_clock \>**\
 template\<\> constexpr bool **is\_clock\_v\< utc\_clock \>**\
 constexpr month **January**\
 constexpr month **July**\
 constexpr month **June**\
 constexpr last\_spec **last**\
 constexpr month **March**\
 constexpr month **May**\
 constexpr weekday **Monday**\
 constexpr month **November**\
 constexpr month **October**\
 constexpr weekday **Saturday**\
 constexpr month **September**\
 constexpr weekday **Sunday**\
 constexpr weekday **Thursday**\
 template\<typename \_Rep\> constexpr bool **treat\_as\_floating\_point\_v**\
 template\<\> constexpr bool **treat\_as\_floating\_point\_v\< double \>**\
 template\<\> constexpr bool **treat\_as\_floating\_point\_v\< float \>**\
 template\<\> constexpr bool **treat\_as\_floating\_point\_v\< int \>**\
 template\<\> constexpr bool **treat\_as\_floating\_point\_v\< long \>**\
 template\<\> constexpr bool **treat\_as\_floating\_point\_v\< long double \>**\
 template\<\> constexpr bool **treat\_as\_floating\_point\_v\< long long \>**\
 constexpr weekday **Tuesday**\
 constexpr weekday **Wednesday**\
 template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr **common\_type**\< **duration**\< \_Rep1, \_Period1 \>, **duration**\< \_Rep2, \_Period2 \> \>::type **operator-** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 The difference between two durations.  template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr **common\_type**\< **duration**\< \_Rep1, \_Period1 \>, **duration**\< \_Rep2, \_Period2 \> \>::type **operator+** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 The sum of two durations.  template\<typename \_Rep1, typename \_Rep2, typename \_Period\> constexpr **duration**\< \_\_common\_rep\_t\< \_Rep2, \_Rep1 \>, \_Period \> **operator\*** (const \_Rep1 &\_\_s, const **duration**\< \_Rep2, \_Period \> &\_\_d)\
 template\<typename \_Rep1, typename \_Period, typename \_Rep2\> constexpr **duration**\< \_\_common\_rep\_t\< \_Rep1, \_\_disable\_if\_is\_duration\< \_Rep2 \> \>, \_Period \> **operator/** (const **duration**\< \_Rep1, \_Period \> &\_\_d, const \_Rep2 &\_\_s)\
 template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr **common\_type**\< \_Rep1, \_Rep2 \>::type **operator/** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 template\<typename \_Rep1, typename \_Period, typename \_Rep2\> constexpr **duration**\< \_\_common\_rep\_t\< \_Rep1, \_\_disable\_if\_is\_duration\< \_Rep2 \> \>, \_Period \> **operator%** (const **duration**\< \_Rep1, \_Period \> &\_\_d, const \_Rep2 &\_\_s)\
 template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr **common\_type**\< **duration**\< \_Rep1, \_Period1 \>, **duration**\< \_Rep2, \_Period2 \> \>::type **operator%** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 template\<typename \_Rep1, typename \_Period, typename \_Rep2\> constexpr **duration**\< \_\_common\_rep\_t\< \_Rep1, \_Rep2 \>, \_Period \> **operator\*** (const **duration**\< \_Rep1, \_Period \> &\_\_d, const \_Rep2 &\_\_s)\
 template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr bool **operator\<** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr auto **operator\<=\>** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr bool **operator\<=** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr bool **operator\>** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr bool **operator\>=** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 template\<typename \_Rep1, typename \_Period1, typename \_Rep2, typename \_Period2\> constexpr bool **operator==** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 template\<typename \_Rep1, typename \_Period1, typename \_Clock, typename \_Dur2\> constexpr **time\_point**\< \_Clock, typename **common\_type**\< **duration**\< \_Rep1, \_Period1 \>, \_Dur2 \>::type \> **operator+** (const **duration**\< \_Rep1, \_Period1 \> &\_\_lhs, const **time\_point**\< \_Clock, \_Dur2 \> &\_\_rhs)\
 Adjust a time point forwards by the given duration.  template\<typename \_Clock, typename \_Dur1, typename \_Rep2, typename \_Period2\> constexpr **time\_point**\< \_Clock, typename **common\_type**\< \_Dur1, **duration**\< \_Rep2, \_Period2 \> \>::type \> **operator-** (const **time\_point**\< \_Clock, \_Dur1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 Adjust a time point backwards by the given duration.  template\<typename \_Clock, typename \_Dur1, typename \_Dur2\> constexpr **common\_type**\< \_Dur1, \_Dur2 \>::type **operator-** (const **time\_point**\< \_Clock, \_Dur1 \> &\_\_lhs, const **time\_point**\< \_Clock, \_Dur2 \> &\_\_rhs)\
 The difference between two time points (as a duration).  template\<typename \_Clock, typename \_Dur1, typename \_Rep2, typename \_Period2\> constexpr **time\_point**\< \_Clock, typename **common\_type**\< \_Dur1, **duration**\< \_Rep2, \_Period2 \> \>::type \> **operator+** (const **time\_point**\< \_Clock, \_Dur1 \> &\_\_lhs, const **duration**\< \_Rep2, \_Period2 \> &\_\_rhs)\
 Adjust a time point forwards by the given duration.

## Detailed Description

ISO C++ 2011 namespace for date and time utilities.

## Author

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