摘要: package main import ( "fmt" "time" ) func main021() { nowTime := time.Now() fmt.Println(nowTime.Year())//2018 fmt.Println(nowTime.Month())//December fmt.Println(nowTime.Day())//25 fmt.Println(nowTime. 阅读全文
posted @ 2019-11-13 23:30 Ethan_Cheng 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 输出: 阅读全文
posted @ 2019-11-13 23:27 Ethan_Cheng 阅读(300) 评论(0) 推荐(0) 编辑