General information
Title:
Converting long integer into date
Hi all,
I have a problem convertin data read from a binary file. I have to import these data into a DBF.
Data in the source file where stored by an old DOS based application (may be Pascal or Basic) I know the structure of this file but I have some trouble converting numeric data.
For exemple Date are stored in YYYYMMDD format, as a long (4 bytes)
Exemple :
ASC(byte1) = 56
ASC(byte2) = 203
ASC(byte3) = 49
ASC(byte4) = 1
This should be converted to a date.... but HOW ??????
Thanks for any answer
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only