SB> done much with Dates in pascal. The BBS software is an older DOS based
SB> system written in pascal and I have the record structure provided by
SB> the author. I am able to read several of the other fields ok and the
SB> date value is pulled in ok, just can't decode the sucker!
BS> Can you define the field as Char(8) and then use "move" to transfer
BS> thecontents into a LongInt ? The format might be that of a DOS
BS> file'stimestamp, which can be decoded with the Pascal UnpackTime
BS> procedure.
Thanks for the reply, I already figured out how to do it. Delphi doesn't have
the UnpackTime, but has FileDateToDateTime which does the same thing.
Steve
--- FreeMail 1.07b
(1:203/21)
---------------
* Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 *
|