SilverScreen Solid Modeler

localtime

localtime

Previous topic Next topic  

localtime

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

struct tm *localtime( time_t *tp )

 

time_t *tp;       /* address of time value */

 

 

 




Synopsis

#include "time.h"

 

The localtime function converts the time_t pointed to by tp into a struct tm , whose members represent a time in local time.

 

 

Parameters

tp is the address of a time_t containing a time value, as obtained by time .

 

 

Return Value

localtime returns a pointer to a static struct tm if successful, which may be overwritten by subsequent calls to gmtime or localtime ; and NULL if not.

 

 

See Also

gmtime , time