time_t qTimeParseGmtStr ( const char *  gmtstr  ) 

This parses GMT/Timezone(+/-) formatted time sting like 'Sun, 04 May 2008 18:50:39 GMT', 'Mon, 05 May 2008 03:50:39 +0900' and returns as universal time.

Parameters:
gmtstr GMT/Timezone(+/-) formatted time string
Returns:
universal time(UTC). in case of conversion error, returns -1.
   time_t t = time(NULL);
   char *s =  qTimeGetGmtStr(t);
   printf("%d\n", t);
   printf("%s\n", s);
   printf("%d\n", qTimeParseGmtStr(s)); // this must be same as t
   free(s);

Definition at line 191 of file qTime.c.


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