ScriptCore3.DecodeTime
procedure DecodeTime(const DateTime: TDateTime; var Hour, Min, Sec, MSec: Word); DateTime: TDateTime that is supposed to be decoded Hour: Hour based on DateTime Min: Minutes based on DateTime Sec: Seconds based on DateTime MSec: Miliseconds based on DateTime
Description
This function will decode given TDateTime into Hour, Min, Sec and MSec.
Example
var
h,m,s,ms: Word;
begin
DecodeTime(0.71001,h,m,s,ms);
{
h = 17
m = 2
s = 24
ms = 864
}
end.