[#BloombergLP-bdlt-Iso8601Util-generate-0308]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Iso8601Util.adoc[Iso8601Util]::generate
:relfileprefix: ../../../
:mrdocs:

Format the specified `object` into the specified `buffer` using ISO 8601&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;iso8601util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
generate(
    char* buffer,
    xref:BloombergLP/bdlt/Time.adoc[Time] const& object,
    xref:BloombergLP/bdlt/Iso8601Util/ssize_t.adoc[ssize&lowbar;t] bufferLength);
----

== Return Value

the number of characters in the formatted string

== Parameters

[cols="1,4"]
|===
| Name| Description
| *buffer*
| output buffer for the generated ISO 8601 text
| *object*
| value to format
| *bufferLength*
| capacity of `buffer` in bytes
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
