Hi Greg,
Starting from line 124 in ReadCellValueFormat, I have:
CASE INLIST(t_cellxfs.numFmtId, 22, 29, 30, 31, 32, 33, 34) && Date-time format
lnNdx = ATC(".", loCellFormat.CellVal)
lcWholeNbr = LEFT(loCellFormat.CellVal, lnNdx-1)
lcDecNbr = SUBSTR(loCellFormat.CellVal, lnNdx+1)
loCellFormat.CellVal = lcWholeNbr + "." + PADR(lcDecNbr, 17, "0")
loCellFormat.DataType = DATA_TYPE_DATETIME
loCellFormat.NumDec = -1
Unless I'm looking at an old version, it looks like there's a case statement on the Date format, but not the DateTime.
↧