mirror of
https://github.com/golang/go
synced 2024-11-26 08:17:59 -07:00
doc/go1.17: linkify time.UnixMilli and time.UnixMicro
Change-Id: I8503c4649fc42670f13d981f98af480467d6a3e8 Reviewed-on: https://go-review.googlesource.com/c/go/+/332829 Trust: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
5c59e11f5e
commit
2ca44fe221
@ -1132,10 +1132,13 @@ func Foo() bool {
|
|||||||
|
|
||||||
<p><!-- CL 293349 -->
|
<p><!-- CL 293349 -->
|
||||||
The new <a href="/pkg/time/#Time.UnixMilli"><code>Time.UnixMilli</code></a> and
|
The new <a href="/pkg/time/#Time.UnixMilli"><code>Time.UnixMilli</code></a> and
|
||||||
<a href="/pkg/time/#Time.UnixMicro"><code>Time.UnixMicro</code></a> methods return the number of milliseconds and
|
<a href="/pkg/time/#Time.UnixMicro"><code>Time.UnixMicro</code></a>
|
||||||
microseconds elapsed since January 1, 1970 UTC respectively.<br>
|
methods return the number of milliseconds and microseconds elapsed since
|
||||||
The new <code>UnixMilli</code> and <code>UnixMicro</code> functions return local Time corresponding to given
|
January 1, 1970 UTC respectively.
|
||||||
Unix time.
|
<br />
|
||||||
|
The new <a href="/pkg/time/#UnixMilli"><code>UnixMilli</code></a> and
|
||||||
|
<a href="/pkg/time/#UnixMicro"><code>UnixMicro</code></a> functions
|
||||||
|
return the local <code>Time</code> corresponding to the given Unix time.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><!-- CL 300996 -->
|
<p><!-- CL 300996 -->
|
||||||
|
Loading…
Reference in New Issue
Block a user