RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.MSecsToTimeStamp Function

Converts a specified number of milliseconds into a TTimeStamp value.

Pascal
function MSecsToTimeStamp(MSecs: Comp): TTimeStamp;
C++
TTimeStamp MSecsToTimeStamp(Comp MSecs);

SysUtils

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!