Bug 21888

GemStone/S

6.7.2.1, 6.7.2, 6.7.1, 6.7, 6.6.5, 6.6.4, 6.6.3.3, 6.6.3.2, 6.6.3, 6.6.2, 6.6.1, 6.6, 6.5.8, 6.5.7.5, 6.5.7, 6.5.6, 6.5.5, 6.5.4, 6.5.2, 6.5.1, 6.5, 6.3.1, 6.3, 6.2.x, 6.2, 6.1.6, 6.1.5, 6.1.x, 6.0.x, 5.1.5.1, 5.1.5, 5.1.4, 5.1.3.1, 5.1.3

All

System timeGmt95 and timeGmt2005 are off by 72 minutes, 48 seconds

The calculation for method "System timeGmt95", which is supposed to return the number of seconds since 1/1/95 00:00:00 GMT, in fact is off by 4368 seconds and really returns the number of seconds since 1/1/95 01:12:48 GMT.

Likewise, the calculation for method "System timeGmt2005", which is supposed to return the number of seconds since 1/1/2005 00:00:00 GMT, is off by 4368 seconds and returns the number of seconds since 1/1/2005 01:12:48 GMT.

Workaround

If absolute time accuracy is required, add 4368 to the value returned. If the timestamps returned from these methods are only used for sorting data, then no correction is necessary.


                

Last updated: 8/23/16