1. 程式人生 > >go 獲得當天0時0分0秒時間戳

go 獲得當天0時0分0秒時間戳

	t := time.Now()
	tm1 := time.Date(t.Year(), t.Month(), t.Day(), 0, 0, 0, 0, t.Location())
	tm2 := tm1.AddDate(0, 0, 1)