System.SysUtils.MSecsToTimeStamp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MSecsToTimeStamp(MSecs: Comp): TTimeStamp;

C++

extern DELPHI_PACKAGE TTimeStamp __fastcall MSecsToTimeStamp(System::Comp MSecs);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Converts a specified number of milliseconds into a TTimeStamp value.

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.

See Also