Files
go-i2p/lib/common/date.go

13 lines
169 B
Go
Raw Normal View History

2016-02-04 00:07:09 -08:00
package common
import (
"time"
)
type Date [8]byte
func GoDate(date Date) time.Time {
seconds := Integer(date[:]...)
return time.Unix(0, int64(seconds*1000000))
}