rem: t = localtime(&_time);
add: t = gmtime(&_time);
context: int time2mysql(time_t _time, char* _result, int _res_len){	struct tm* t;	     /*	       if (_time == MAX_TIME_T) {	       snprintf(_result, _res_len, "0000-00-00 00:00:00");	       }	     */	t = localtime(&_time);	return strftime(_result, _res_len, "%Y-%m-%d %H:%M:%S", t);}