阅读背景:

将struct tm(以UTC表示)转换为time_t类型的简便方法

来源:互联网 

How do I do the above? There is mktime function but that treats the input as expressed in local time but how do i perform the conversion if my input tm variable happens to be in UTC.How do I do the above? There is mktime function




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: