Converts a time.Time value to the number of seconds elapsed since the Unix epoch, excluding leap seconds. The Unix epoch is 00:00:00 UTC on 1 January 1970.
2017-02-01
dates
time
functions
docs
parent
functions
.Unix
.UnixMilli
.UnixMicro
.UnixNano
Format
dateFormat
now
time
The Milli, Micro, and Nano variants return the number of milliseconds, microseconds, and nanoseconds (respectively) elapsed since the Unix epoch.