golang time函数
摘要:
import( "fmt" "time" ) func main(){ now := time.Now() //获取当前时间 now.Format("2006-01-02 15:04:05") //时间格式化 里面数字是固定的 } 时间常量 Nanosecond Duration //纳秒 Micr 阅读全文
posted @ 2020-04-01 15:44 、猿道 阅读(150) 评论(0) 推荐(0)
posted @ 2020-04-01 15:44 、猿道 阅读(150) 评论(0) 推荐(0)
posted @ 2020-03-31 22:14 、猿道 阅读(112) 评论(0) 推荐(0)
posted @ 2018-04-08 14:46 、猿道 阅读(103) 评论(0) 推荐(0)