C++ Programming/Code/Standard C Library/Functions/ctime
< C++ Programming < Code < Standard C Library < Functionsctime
Syntax |
#include <ctime>
char *ctime( const time_t *time );
|
The ctime() function converts the calendar time time to local time of the format:
day month date hours:minutes:seconds year
using ctime() is equivalent to
asctime( localtime( tp ) );
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.