RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.SecsPerDay Constant

Specifies the number of seconds in a day.

Pascal
SecsPerDay = MinsPerDay * SecsPerMin;
C++
SecsPerDay = MinsPerDay * SecsPerMin;

SecsPerDay is the number of seconds (86,400) in a day. It is the product of MinsPerDay and SecsPerMin

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

 

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