[#absl-Time-2constructor-02]
= xref:absl.adoc[absl]::xref:absl/Time.adoc[Time]::Time
:relfileprefix: ../../
:mrdocs:

Constructs a `Time` representing the Unix epoch&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
Time() = default;
----

== Description

Returns the Unix epoch&period; However, those reading your code may not know or expect the Unix epoch as the default value, so make your code more readable by explicitly initializing all instances before use&period;

Example&colon; absl&colon;&colon;Time t &equals; absl&colon;&colon;UnixEpoch()&semi; absl&colon;&colon;Time t &equals; absl&colon;&colon;Now()&semi; absl&colon;&colon;Time t &equals; absl&colon;&colon;TimeFromTimeval(tv)&semi; absl&colon;&colon;Time t &equals; absl&colon;&colon;InfinitePast()&semi;


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