Subject Re: Getting Milliseconds
Author Adam
--- In firebird-support@yahoogroups.com, "robertgilland"
<robert_gilland@...> wrote:
>
> I am testing time critical stored procedures.
> But the CURRENT_TIME token does not output milliseconds
>
> I am using Firebird 2
>
> select CURRENT_TIME
> from rdb$database
>
> returns
>
> 24/5/2007 09:22:000
>
> always.
>
> How can I get the milliseconds?

(Windows only)

declare external function getExactTimestamp
timestamp returns parameter 1
entry_point 'getExactTimestamp' module_name 'fbudf';

select getExactTimestamp()
from rdb$database;

Adam