Subject Re: Record versioning/timestamping
Author Greg At ACD
--- In firebird-support@yahoogroups.com, "Dimitry Sibiryakov"
> > Will FB 2.0 provide a new isc_decode_timestamp() function to
> > support milliseconds (and similarly for encoding)...?
>
> No. Is there a standard and portable C type, supporting
> milliseconds?

Unfortunately, no. On Windoze, MSVC has SYSTEMTIME and FILETIME that
both support milliseconds, but these are not portable.

One option would be to add a parameter to the encode/decode routines
as an int* pnMilli (default param to NULL) to allow the push/pull of
this information. The other is to use some kind of julian format and
an __int64 or something to that affect. Of course, then you would
need routines to encode/decode this information as well.

Or, just return the whole thing as a string, and let me parse it.
Even that would do the trick for me.

Thx for the sample code as well! I work in C++, but this should
point me in the right direction.

Greg