RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.MSecsPerDay Constant

Specifies the number of milliseconds in a day.

Pascal
MSecsPerDay = SecsPerDay * MSecsPerSec;
C++
MSecsPerDay = SecsPerDay * MSecsPerSec;

SysUtils

MSecsPerDay is the number of milliseconds (86,400,000) in a day. It is the product of SecsPerDay and MSecsPerSec

Using this constant rather than hard coding 86400000 makes for more readable code. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!