C++ Programming/Code/Standard C Library/Functions/mktime
< C++ Programming < Code < Standard C Library < Functionsmktime
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.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.