Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Jonathan Leffler — — source: Informix-list mailing list archive (1991-1998)
On 4 Nov 1997, P Bent wrote:
> I was kind of expecting the CURRENT function into a DATETIME to return the
> Server's current time.
>
> I am unfortunately getting the local PC's time. Which wreaks havoc...
>
> Any ideas how I can do it without using a stored procedure?
Execute the equivalent of:
SELECT CURRENT FROM 'informix'.SysTables WHERE Tabid = 1
retrieving the result into a convenient datetime variable?
Yours,
Jonathan Leffler (johnl@informix.com) #include <witticism.h>
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.