Given two durations, D1 d1and D2 d2...
You can convert both durations to their common type std::common_type_t<D1, D2>, and then find the minimum of these values.
std::min<std::common_type_t<D1, D2>>(d1, d2) .
, std::common_type duration, . [time.traits.specializations] ++.