mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-04 05:26:51 -04:00
13 lines
167 B
Go
13 lines
167 B
Go
package common
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Date [8]byte
|
|
|
|
func (date Date) Time() time.Time {
|
|
seconds := Integer(date[:])
|
|
return time.Unix(0, int64(seconds*1000000))
|
|
}
|