TIP: Click on subject to list as thread! ANSI
echo: delphi
to: BRYAN SMITH
from: STEVE BATSON
date: 1996-07-31 07:01:00
subject: Date Routines

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 *

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.