Golang
Show current local time
in Golang
Show current time.
show_current_local_time.go
package main
import (
"fmt"
"time"
)
func main() {
fmt.Println("Current time is ", time.Now())
}
Result
$ go run show_current_local_time.go
Current time is 2015-01-01 22:39:59.5021292 +0900 +0900