Lazarus

Programming => Packages and Libraries => KOL => Topic started by: Dibo on February 07, 2011, 12:07:38 am

Title: KOL-CE and DateTime convertion
Post by: Dibo 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
TinyPortal © 2005-2018