Defined in header <ctime> std::tm* localtime( const std::time_t *time );
Converts given time since epoch as std::time_t value into calendar time, expressed in local time.
Parameters
time - pointer to a time_t object to convert
Return value
pointer to a static internal std::tm object on success, or NULL otherwise. The structure may be shared between std::gmtime, std::localtime, and std::ctime, and may be overwritten on each invocation.
Notes
This function ma