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