Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext
datetime::year

Retrieves the year component.

Synopsis
constexpr std::uint16_t
year() const;
Exception safety

No-throw guarantee.


PrevUpHomeNext