Easy way to convert a struct tm (expressed in UTC) to time_t type

Use timegm() instead of mktime()

Leave a Comment