MCPcopy Create free account
hub / github.com/devfeel/mapper / UnixToTime

Function UnixToTime

convert.go:206–208  ·  view source on GitHub ↗

UnixToTime transform Unix time to local Time

(tt int64)

Source from the content-addressed store, hash-verified

204
205// UnixToTime transform Unix time to local Time
206func UnixToTime(tt int64) time.Time {
207 return time.Unix(tt, 0)
208}
209
210// TimeToUnixLocation transform time to Unix time with time location
211// location like "Asia/Shanghai"

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…