Lines Matching defs:datetime
250 short datetime[8], errormask[1];
260 datetime[0] = modt->tm_year + 1900;
261 datetime[1] = modt->tm_mon + 1;
262 datetime[2] = modt->tm_mday;
263 datetime[3] = modt->tm_hour;
264 datetime[4] = modt->tm_min;
265 datetime[5] = modt->tm_sec;
266 datetime[6] = datetime[7] = 0;
268 lasttime.fulltime = COMPUTETIMESTAMP (datetime, errormask);
272 datetime[0] = opent->tm_year + 1900;
273 datetime[1] = opent->tm_mon + 1;
274 datetime[2] = opent->tm_mday;
275 datetime[3] = opent->tm_hour;
276 datetime[4] = opent->tm_min;
277 datetime[5] = opent->tm_sec;
278 datetime[6] = datetime[7] = 0;
280 opentime.fulltime = COMPUTETIMESTAMP (datetime, errormask);