Informix 4GL Bug Impacting Datetime Fields
Posted in 1996
> > I came across an interesting problem that may be > of concern to other Informix 4GL developers. > > Assume that you define a datetime value with a > granularity of fractional seconds, for example: > > datetime(year to fraction) > > The only tool available within 4GL to get > the time of day is the 4GL "current" function, > but don't expect to get a time value from the > 4GL "current" function with granularity more > accurate than whole seconds. Interesting, I have successfully used it to FRACTION(2) but no further under HP-UX. Of course I have no way to verify whether the fractions in question have been accurate. cheers j. _____________________________________________________________________________ Jack Parker - Hewlett Packard, DMD/IS Boise, Idaho, USA jparker@nexus.boi.hp.com <--- New address _____________________________________________________________________________ If anything can go wrong, fix it. To hell with Murphy. _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________