Converts a time in seconds, since 00:00:00 January 1, 1970, to an ASCII string in the form generated by the asctime function.
#include <time.h> char *ctime (const time_t *bintim);Function Variants Compiling with the _DECC_V4_SOURCE and _VMS_V6_SOURCE feature- test macros defined enables a local-time-based entry point to this function that is equivalent to the behavior before OpenVMS Version 7.0.
typedef long int time_t
The ctime function behaves as if it called tzset.
pointer | Points to the 26-character ASCII string. |