Context: /flowcontrol/10
Today is Friday, May 1st 2015...
It output wrong time use go's time package.
import (
"fmt"
"time"
)
func main() {
today := time.Now().Weekday()
fmt.Println("When's Today?", today)
t := time.Now()
fmt.Println("What's the time now?", t)
}
When's Today? Tuesday
What's the time now? 2009-11-10 23:00:00 +0000 UTC