freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: joel_trunick AT dell.com
- To: freetds
- Subject: BUG: getTimestamp loses milliseconds - FIX
- Date: Thu, 22 Apr 1999 19:16:27
To not lose milliseconds in dealing with the database...
The following line should be changed in Tds.getDatetimeValue(), so that
seconds is defined as a double and time is divided by a double (.0).
// long seconds = (long)((days - 25567)*(24*60*60))
// + (long)(time/300);
double seconds = (days - 25567)*(24*60*60)
+ (time/300.0); //BUG FIX...
Could this fix be rolled into the new release?
Thanks,
Joel
- BUG: getTimestamp loses milliseconds - FIX, joel_trunick, 04/22/1999
Archive powered by MHonArc 2.6.24.