I'd divide the int64 up into seconds and nanoseconds with % and /
operators, then use one of:
http://golang.org/pkg/time/#Time.SecondsToUTC
http://golang.org/pkg/time/#Time.SecondsToLocalTime
(Depending on the implied timezone of the original number)
And then get a formatted string with:
http://golang.org/pkg/time/#Time.Format
- John
Something like:
t := time.SecondsToUTC( yourNanoSeconds / 1000000000 )
printMe := t.Format( yourLayoutString )
?
Chrus
--
Chris "allusive" Dollin