Second returns the second offset within the minute specified by t, in the range [0, 59].
package main import ( "fmt" "time" ) func main() { now := time.Now() fmt.Println(now.Second()) }