std::chrono::day
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Date and time library
(C++11)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++20)
(C++11)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)(C++20)
(C++20)
day
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
std::chrono::day
Member functions
Nonmember functions
Helper classes
(C++26)
Defined in header
<chrono>
class day;
(since C++20)
The class day
represents a day in a month. Its normal range is [
1,
31]
, but it may hold any number in [
0,
255]
.
day
is a TriviallyCopyable StandardLayoutType.
[edit] Member functions
[edit] Nonmember functions
(C++20)
day
, or find the difference between two day
s (function) [edit]
[edit] Helper classes
(C++26)
(class template specialization)
[edit] Literals
Defined in inline namespace
std::literals::chrono_literals