RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.HoursPerDay Constant

Specifies the number of hours in a day.

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

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!