[#BloombergLP-bslmt-SaturatedTimeConversionImpUtil-toTimeT] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/SaturatedTimeConversionImpUtil.adoc[SaturatedTimeConversionImpUtil]::toTimeT :relfileprefix: ../../../ :mrdocs: Assign `src` to `*dst` as a `time_t`, saturating to range. == Synopsis Declared in `<bslmt_saturatedtimeconversionimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void toTimeT( std::time_t* dst, xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] const src); ---- == Description Assign to the specified `dst` the value of the specified `src`, and if `src` is less than the lowest representable `time_t` value, set `dst` to the minimum `time_t` value, and if `src` is greater than the highest representable `time_t` value, set `dst` to the maximum `time_t` value. == Parameters [cols="1,4"] |=== | Name| Description | *dst* | destination `time_t` to assign | *src* | source integral time value to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#