char* qTimeGetGmtStrf ( char *  buf,
int  size,
time_t  utctime,
const char *  format 
)

Get custom formmatted GMT time string.

Parameters:
buf save buffer
size buffer size
utctime 0 for current time, universal time for specific time
format format for strftime()
Returns:
string pointer of buf
   char timestr[8+1];
   qTimeGetGmtStrf(buf, sizeof(buf), 0, "%H:%M:%S"); // HH:MM:SS

Definition at line 123 of file qTime.c.


Generated on Mon Mar 26 07:00:52 2018 for JSOC_Documentation by  doxygen 1.5.7.1