Closed
Description
I am writing a Go library to interact with the Netgear Arlo camera API, and it uses UNIX Epoch in millisecond (13 digit) form extensively.
Why not add support for these time formats? They exist in other languages and therefore other APIs which may potentially be consumed by Go.
I vote for the original proposal in #18935:
Initial tl;dr: Go could make timestamp handling much easier by providing the following functions in its time library:
func (t Time) UnixMicro() int64 { ... }
func (t Time) UnixMilli() int64 { ... }
func FromUnixMicro(us int64) Time { ... }
func FromUnixMilli(ms int64) Time { ... }