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);
free(timestr);
timestr = qGetLocaltimeStr(time(NULL));
free(timestr);
timestr = qGetLocaltimeStr(time(NULL) - 86400));
free(timestr);
Definition at line 83 of file qTime.c.