📅  最后修改于: 2022-03-11 14:45:01.407000             🧑  作者: Mango
package main
import (
"fmt"
"time"
)
func main() {
t := time.Now()
fmt.Println(t.Format("01-02-2006")) // must be start from date like this
}