localtime()

Converts a value of type time_t to a structure of type tm.

  #include <time.h>
  
  struct tm *localtime(const time_t *time);    
Parameter

time

A pointer to a time value to convert.

Remarks

This function function converts a value of type time_t, pointed to by timer, and converts it to a structure of type tm. The function returns this pointer. The pointer is static; it is overwritten each time localtime() is called.

This facility may not be available on some configurations of the EWL.