Share this page

# ctime

Example: ctime | Date and Time Functions

Converts the system time to local time.

    char *ctime( const time_t *calTime);

calTime | The name of the value for the calendar time.

Under Linux, ctime is not thread-safe. Use ctime_r, instead. Refer to your platform-specific documentation for details.

## Return Values

A pointer to the string containing the date and time information in readable format.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: