![]() |
Home | Libraries | People | FAQ | More |
Constructs a datetime from a local_time_point
.
constexpr datetime( local_time_point tp);
Equivalent to constructing a date
from a time_point
with
the same time_since_epoch()
as tp
.
Requires C++20 calendar types.
Strong guarantee. Throws on invalid input.
Type |
Thrown On |
---|---|
|
If the resulting |