package main import ( "fmt" "time" ) func main() { fmt.Println(time.Now().Format("2006年01月02日 15点04分05秒")) fmt.Println(time.Now().Format("2006-01-02日 15:04:05")) fmt.Println(time.Now().Format("2006-1-2 15:4:5")) fmt.Println(time.Now().Format("2006/1/2 15:4:5")) }