Lines Matching defs:newtime
98 struct tm* newtime = localtime(&curTime);
99 m_year = newtime->tm_year + 1900;
100 m_month = newtime->tm_mon + 1;
101 m_day = newtime->tm_mday;
102 m_hour = newtime->tm_hour;
103 m_minute = newtime->tm_min;
104 m_second = newtime->tm_sec;
119 struct tm newtime;
121 newtime.tm_year = m_year - 1900;
122 newtime.tm_mon = m_month - 1;
123 newtime.tm_mday = m_day;
124 newtime.tm_hour = m_hour;
125 newtime.tm_min = m_minute;
126 newtime.tm_sec = m_second;
128 return mktime(&newtime);