[#absl-FormatTime-01]
= xref:absl.adoc[absl]::FormatTime
:relfileprefix: ../
:mrdocs:

Formats the given time using the RFC3339&lowbar;full format in the given time zone&period;

== Synopsis

Declared in `&lt;absl&sol;time&sol;time&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
FormatTime(
    xref:absl/Time.adoc[Time] t,
    xref:absl/TimeZone.adoc[TimeZone] tz);
----

== Description

Convenience functions that format the given time using the RFC3339&lowbar;full format&period; The first overload uses the provided TimeZone, while the second uses LocalTimeZone()&period;

== Return Value

The formatted time string&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *t*
| The time to format&period;
| *tz*
| The time zone to format in&period;
|===


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