ctime function

09 Nov 2010

Hello,

Description of the function:

Converts a timestamp to a human-readable string

Converts a time_t timestamp in seconds since January 1, 1970 (the UNIX timestamp) to a human readable string format.  The result is of the format: “Wed Oct 28 11:35:37 2009\n”

 

Question: why at the end of the result there is an "\n", is it possible to suppress it?

 

regards,

sares