class
<chrono>

std::chrono::hours

typedef duration < /*see rep below*/, ratio<3600,1> > hours;
Duration in hours
Instantiation of duration to represent hours.

It is a typedef of an instantiation of duration with the following member types:

Member types

member typedefinitiondescription
repA signed integral type of at least 23 bitsRepresentation type
periodratio<3600,1>A ratio of 3600:1 with seconds

See also