i have time of the day in seconds and i have to find the utc time since 1970, is there any api which can directly convert this time to utc time,
i m using ansi c , and working on windows platform platform independent a开发者_运维技巧pi will be preferred
thanx in advance.
You can fill in a tm struct with the time of day you have (you'd have to convert it into seconds/minutes/hours) and the date. Then convert it with mktime() in time.h.
加载中,请稍侯......
精彩评论