[time.point.cons]

# 30 Time library [[time]](./#time)

## 30.6 Class template time_point [[time.point]](time.point#cons)

### 30.6.2 Constructors [time.point.cons]

[ð](#lib:time_point,constructor)

`constexpr time_point();
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2265)

*Effects*: Initializes d_ with duration​::​zero()[.](#1.sentence-1)

Such a time_point object represents the epoch[.](#1.sentence-2)

[ð](#lib:time_point,constructor_)

`constexpr explicit time_point(const duration& d);
`

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2277)

*Effects*: Initializes d_ with d[.](#2.sentence-1)

Such a time_point object represents the epoch + d[.](#2.sentence-2)

[ð](#lib:time_point,constructor__)

`template<class Duration2>
  constexpr time_point(const time_point<clock, Duration2>& t);
`

[3](#3)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2290)

*Constraints*: is_convertible_v<Duration2, duration> is true[.](#3.sentence-1)

[4](#4)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2294)

*Effects*: Initializes d_ with t.time_since_epoch()[.](#4.sentence-1)
