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

Get custom formmatted local 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 = qTimeGetLocalStrf(0, "%H:%M:%S"); // HH:MM:SS
   free(timestr);
   char *timestr = qTimeGetLocalStrf(0, "%Y%m%d%H%M%S"); // YYMMDDhhmmss
   free(timestr);

Definition at line 55 of file qTime.c.


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