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


asctime

asctime Function


#include <time.h>

time_t t;
struct tm *time_struct;
String new s;

time (&t);
time_struct = localtime (&t);
s = asctime (time_struct);

Note: Ctalk does not have a class corresponding to a struct tm *. An explicit assignment of a struct tm * to a Symbol passes the address to asctime. See Objects in Function Arguments.