Hi Joaquim!
Mr. Joaquim Homrighausen wrote to Mr. All:
JH> Do the above two function retain other values in the TDateTime
JH> return variable across calls? I mean, how would I go about encoding a
JH> given date *and* time into a variable of TDateTime type?
I don't remember the function sintax and I have not Delphi now, but I
think it's as easy as this:
MyDateTime := EncodeTime(MyTime) + EncodeDate(MyDate)
If it is not this way what you just have to know is that a TDateTime
variable is a real number whose integer part is the date (in days since a
giveb date that I don't remember) and the rest (float part) is the encoded
time.
See you :)
--- FMail 1.02
---------------
* Origin: Edison's Temple BBS - Madrid (2:341/136.39)
|