Sign in
go
/
website
/
3fc36b61c2f6d69a03ff6df6c5f56c5e85040011
/
.
/
_content
/
talks
/
2012
/
simple
/
time3.go
blob: d0e1ba355c5b3ca07569682e00ddfa22c5a8ca99 [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import (
"fmt"
"time"
)
func main() {
// START OMIT
t := time.Now()
fmt.Println(t.In(time.UTC))
home, _ := time.LoadLocation("Australia/Sydney")
fmt.Println(t.In(home))
// END OMIT
}