> program mailza;
> uses
>   err,
>   Classes,
>   Kol,
>   Koledb,
>   smtpsend,
>   synautil,
>   SZCodeBaseX,
>   SimpleXML;
> 

I see that you are a fellow KOL user :-)

Do not mix VCL and KOL DateTime functions!

SynaUtil uses SysUtils. I suggest replacing SysUtils
with KOL in the unit uses declaration and modifying
SynaUtil to ensure KOL DateTime functions are used
throughout.

>From the KOL documentation:

const VCLDate0 = 693594; 
Value to convert VCL "date 0" to KOL "date 0" and
back. This value corresponds to 30-Dec-1899, 0:00:00.
So, to convert VCL date to KOL date, just subtract
this value from VCL date. And to convert back from KOL
date to VCL date, add this value to KOL date. 

Hope this helps,

Jon







      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today 
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to