char* qTimeGetGmtStr ( time_t  utctime  ) 

Get GMT time string formatted like 'Wed, 11-Nov-2007 23:19:25 GMT'.

Parameters:
utctime 0 for current time, universal time for specific time
Returns:
malloced string pointer which points GMT time string.
   char *timestr;
   timestr = qTimeGetGmtStr(0);         // now
   free(timestr);
   timestr = qTimeGetGmtStr(time(NULL));        // same as above
   free(timestr);
   timestr = qTimeGetGmtStr(time(NULL) - 86400));   // 1 day before
   free(timestr);

Definition at line 148 of file qTime.c.


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