Next: , Previous: , Up: C library functions   [Index]


ctime

ctime Function

#include <time.h>

time_t t;
String new s;

time (&t);
s = ctime (&t);

Note: There is not a portable way to take the address of an object with ‘&’, although it may be possible to perform the translation manually in some cases. If the argument must be an object, then use the cTime (class CTime) method instead.