[#BloombergLP-bdlt-Date-bdexStreamOut]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Date.adoc[Date]::bdexStreamOut
:relfileprefix: ../../../
:mrdocs:

Write the value of this object, using the specified `version` format, to the specified output `stream`, and return a reference to `stream`&period; If `stream` is initially invalid, this operation has no effect&period; If `version` is not supported, `stream` is invalidated, but otherwise unmodified&period; Note that `version` is not written to `stream`&period; See the `bslx` package&hyphen;level documentation for more information on BDEX streaming of value&hyphen;semantic types and containers&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
bdexStreamOut(
    STREAM& stream,
    int version) const;
----


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