C struct tm time - add hours

后端 未结 0 657
醉酒成梦
醉酒成梦 2020-12-08 15:55

I have struct tm that represents time 1900-01-01 00:00:00. How can I add offset in hours to it? For example, I have offset in hours - value 1

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