Forum > KOL

KOL-CE and DateTime convertion

(1/1)

Dibo:
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

Navigation

[0] Message Index

Go to full version