320
320
date = (ltime->year*100L + ltime->month)*100L + ltime->day;
321
321
if (ltime->time_type > DRIZZLE_TIMESTAMP_DATE)
322
322
date= ((date*100L + ltime->hour)*100L+ ltime->minute)*100L + ltime->second;
323
324
if (int2_class_decimal(E_DEC_FATAL_ERROR, date, false, dec))
327
329
dec->buf[(dec->intg-1) / 9 + 1]= ltime->second_part * 1000;