Recent

Author Topic: KOL-CE and DateTime convertion  (Read 6799 times)

Dibo

  • Hero Member
  • *****
  • Posts: 1045
KOL-CE and DateTime convertion
« on: February 07, 2011, 12:07:38 am »
Hi,

I have problem with convertion datetime to string. For example:

kol.DateTime2StrShort(40580.9480145255)

This return " 22:45:08" without date. This same problem with others DateTime2XXX functions (DecodeDate too). Free Pascal DateTimeToString return correct date "2011-02-06 22:45:08" but if I use this unit then exe size increase from 50 kB to 110kB. It is some discrepancy with date calculation, because this DateTime2StrShort(KOL.Now) convert correct. Someone had this same problem?

Regards