char* qTimeGetLocalStr ( time_t  utctime  ) 

Get local time string formatted like '02-Nov-2007 16:37:39 +0900'.

Parameters:
utctime 0 for current time, universal time for specific time
Returns:
mallocked string pointer of time string
   char *timestr;
   timestr = qGetLocaltimeStr(0);           // now
   free(timestr);
   timestr = qGetLocaltimeStr(time(NULL));      // same as above
   free(timestr);
   timestr = qGetLocaltimeStr(time(NULL) - 86400)); // 1 day before
   free(timestr);

Definition at line 83 of file qTime.c.


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