Sign in
go
/
website
/
1f6ba5cfa85f6083784abf0463d41f9f1564c630
/
.
/
_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
}