How do I convert a struct tm to a time_t? There's mktime(3), but it only deals with local times. I would need the inverse function of gmtime(3). Any help will be appreciated. Thanks! (please CC me the replies)