Re: Instance dates
Posted in 1998
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
julian.richards@orange.co.uk wrote: > > I am working on Y2K issues and i am thinking of trying to run multiple > instances at different dates on the same platform. > Does anyone know how the date is derived and if it possible to remap the > command. The engine determines the current date and time at startup using gettimeofday(). If you have USEOSTIME set it will also query gettimeofday() each time someone asks for CURRENT or TODAY otherwise the date and time are then calculated internally from that base using timers. So if USEOSTIME is clear (zero) you could set the system clock to another date, start up the engine and reset the system clock back to normal. Flaky but doable I would think. Art S. Kagel