Get date/time, possibly in ISO8601 format

Functions

char * xsh_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* xsh_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.

Definition at line 118 of file xsh_time.c.

References GET_CCYEAR, GET_DAY, GET_HOUR, GET_MINUTE, GET_MONTH, GET_SECOND, xsh_date_now(), and xsh_time_now().


Generated on 13 Mar 2013 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1