C Standard Library Extensions  6.2.0
Functions
Get date/time, possibly in ISO8601 format

Functions

char * qfits_get_datetime_iso8601 (void)
 Returns the current date and time as a static string.

Detailed Description

This module contains various utilities to get the current date/time, and possibly format it according to the ISO 8601 format.


Function Documentation

char* qfits_get_datetime_iso8601 ( void  )

Returns the current date and time as a static string.

Returns:
Pointer to statically allocated string

Build and return a string containing the date of today and the current time in ISO8601 format. The returned pointer points to a statically allocated string in the function, so no need to free it.

Referenced by qfits_table_ext_header_default().