This is an old revision of this page, as edited by Pi zero (discuss | contribs) at 01:52, 9 June 2017. It may differ significantly from the current revision. |
Syntax |
#include <ctime>
time_t mktime( struct tm *time );
|
The mktime() function converts the local time in time to calendar time, and returns it. If there is an error, -1 is returned.