RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.MinsPerDay Constant

Specifies the number of minutes in a day.

Pascal
MinsPerDay = HoursPerDay * MinsPerHour;
C++
MinsPerDay = HoursPerDay * MinsPerHour;

SysUtils

MinsPerDay is the number of minutes (1440) in a day. It is the product of HoursPerDay and MinsPerHour

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

 

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