关于Time.Hour()的12小时制和24小时制

gs272 · · 7221 次点击
polaris
社区,需要你我一同完善!
time.Now()返回的只是一个时间戳; time.Now().Hour()返回的是:Hour returns the hour within the day specified by t, in the range [0, 23].
#1
更多评论
哦,那就是24小时制的落
#2