[#BloombergLP-bdlt-Iso8601Util-generate-0cd] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Iso8601Util.adoc[Iso8601Util]::generate :relfileprefix: ../../../ :mrdocs: Load the ISO 8601 representation of the specified `object` into the specified `string` of type `bsl::string`, `std::string`, or `std::pmr::string`. Optionally specify a `configuration` to affect the format of the generated string. If `configuration` is not supplied, the process‐wide default value `Iso8601UtilConfiguration::defaultConfiguration()` is used. Return the number of characters in the formatted string. The previous contents of `string` (if any) are discarded. == Synopsis Declared in `<bdlt_iso8601util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int generate( std::pmr::string* string, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& object); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#