programming.nbk: Home | Index | Next Page: table_code | Previous Page: struct tm* gmtime(const time_t* timer);


 struct tm* localtime(const time_t* timer );

Convert time_t to tm as local time

Uses the time pointed by timer to fill a tm structure with the values that represent the corresponding local time.

Parameters

Return Value

A pointer to a tm structure with the time information filled in. This structure is statically allocated and shared by the functions gmtime and localtime. Each time either one of these functions is called the contents of this structure is overwritten.


programming.nbk: Home | Index | Next Page: table_code | Previous Page: struct tm* gmtime(const time_t* timer);


Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time