How to add days to date in Go

后端 未结 0 1481
孤城傲影
孤城傲影 2021-02-06 14:26

I want to get next day @ midnight of a given date. So far I\'m using :

givenDate.Add(time.Hour * time.Duration(24))

Problem is with certain timez

相关标签:
回答
  • 消灭零回复
提交回复
热议问题