Subject | Re: [firebird-support] isc_encode_time and millisconds |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2009-05-06T17:47:26Z |
> PISC_TIME(sqldata) := PISC_TIME(sqldata) + (msec % 10000)Everything is simple:
>
> isc_encode_sql_time(@TmpDate, PISC_TIME(sqldata))
>
> msec info is not stored. So can someone provide an example how can I do to store msec infos?
PISC_TIME(sqldata) := (((hours*60)+minutes)*60+seconds)*10000+msec*10;
ISC_TIME is number of 1/10000th seconds after midnight.
SY, SD.