If I have a date field withing Oracle which is holding a time of 9:52. The fraction part of the field is 4.111111.........
Once I access this value using FieldByName('...').AsDateTime the value seems to change. If I display the value I get '39027.411111111112400000'.
If I create a TDateTime variable within Delphi and encode the time '9:52' into this variable I get:
'39027.411111111111100000'
Are there any problems with the TSQLTimeStampField with converting the value to a TDateTime?
AsDateTime giving strange results
-
- Posts: 2
- Joined: Mon 06 Nov 2006 16:53