![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I've got some old btrieve files(just the data, no structure file) to convert to our systems. Using BTFiller I was able to retrieve most of the data, except for dates. I've been trying with no sucess to understand how it is stored... Some samples(date and hexa values for the 4 bytes relative to it): 12/31/1999 BF 0A 31 01 10/02/2003 1A A6 31 01 01/01/1900 25 EB 21 01 01/01/1880 ED DD 1E 01 Any help would be VERY appreciated... Tks Rodrigo |
#3
| |||
| |||
|
|
Rodrigo: The bytes are stored in Intel byte-swap order, so 'BF 0A 31 01' is really '01 31 0A BF' which when entered as a hex value gives the integer value of '19991231' which you can see is 1999-12-31. HTH, Martin. "Rodrigo Gonçalves" <rodrigogoncalves (AT) yahoo (DOT) com.br> escribió en el mensaje news:boc2on$1eh4$1 (AT) news (DOT) wplus.net... Hi all, I've got some old btrieve files(just the data, no structure file) to convert to our systems. Using BTFiller I was able to retrieve most of the data, except for dates. I've been trying with no sucess to understand how it is stored... Some samples(date and hexa values for the 4 bytes relative to it): 12/31/1999 BF 0A 31 01 10/02/2003 1A A6 31 01 01/01/1900 25 EB 21 01 01/01/1880 ED DD 1E 01 Any help would be VERY appreciated... Tks Rodrigo |
![]() |
| Thread Tools | |
| Display Modes | |
| |