RAD Studio VCL Reference
SysUtils.MSecsToTimeStamp Function

Converts a specified number of milliseconds into a TTimeStamp value.

function MSecsToTimeStamp(MSecs: Comp): TTimeStamp;
TTimeStamp MSecsToTimeStamp(Comp MSecs);

Call MSecsToTimeStamp to convert MSecs, a number of milliseconds, into the number of days represented, plus the number of milliseconds remaining. The days and milliseconds are expressed as a TTimeStamp value, where the Date field is the number of days and the Time field is the remainder in milliseconds. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!