RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.HoursPerDay Constant

Specifies the number of hours in a day.

Pascal
HoursPerDay = 24;
C++
HoursPerDay = 24;

SysUtils

HoursPerDay is the number of hours (24) in a day. Using this constant rather than hard coding 24 makes for more readable code. 

 

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