C++ Programming/Code/Standard C Library/Functions/localtime
< C++ Programming < Code < Standard C Library < Functionslocaltime
Syntax |
#include <ctime>
struct tm *localtime( const time_t *time );
|
The function localtime() converts calendar time time into local time. Watch out for the static return.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.