[#absl-FormatTime-04] = xref:absl.adoc[absl]::FormatTime :relfileprefix: ../ :mrdocs: `FormatTime` overloads == Synopses Declared in `<absl/time/time.h>` Formats the given time using the RFC3339_full format in the local time zone. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string xref:absl/FormatTime-0a.adoc[FormatTime](xref:absl/Time.adoc[Time] t); ---- [.small]#xref:absl/FormatTime-0a.adoc[_» more..._]# Formats the given time using the RFC3339_full format in the given time zone. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string xref:absl/FormatTime-01.adoc[FormatTime]( xref:absl/Time.adoc[Time] t, xref:absl/TimeZone.adoc[TimeZone] tz); ---- [.small]#xref:absl/FormatTime-01.adoc[_» more..._]# Formats the given `absl::Time` in the `absl::TimeZone` according to the provided format string. Uses strftime()‐like formatting options, with the following extensions: [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string xref:absl/FormatTime-05.adoc[FormatTime]( std::string_view format, xref:absl/Time.adoc[Time] t, xref:absl/TimeZone.adoc[TimeZone] tz); ---- [.small]#xref:absl/FormatTime-05.adoc[_» more..._]# == Return Value The formatted time string. == Parameters [cols="1,4"] |=== | Name| Description | *t* | The time to format. | *tz* | The time zone to format in. | *format* | The strftime()‐like format string. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#