github.com/gmemcc/yaegi@v0.12.1-0.20221128122509-aa99124c5d16/_test/time13.go (about) 1 package main 2 3 import ( 4 "fmt" 5 "time" 6 ) 7 8 var dummy = 1 9 10 var t time.Time = time.Date(2007, time.November, 10, 23, 4, 5, 0, time.UTC) 11 12 func main() { 13 t = time.Date(2009, time.November, 10, 23, 4, 5, 0, time.UTC) 14 fmt.Println(t.Clock()) 15 } 16 17 // Output: 18 // 23 4 5