Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->asctime()

Summary

#include <time>

char * asctime(const struct tm *pTime)

Parameter

pTime    Pointer to time structure tm


Description

This function converts the time structure pointed to by pTime into a character string.  The character string is a statically allocated 26 char buffer and the string is formatted to the form Thu Jan 03 04:04:53 1980\n\0.

The character buffer will be overwritten by a subsequent call to asctime().


Return

This function returns a pointer to the resulting character string.