DateUtils.HourOfTheYear
From RAD Studio VCL Reference
Contents |
Delphi Information
From DateUtils.pas
function HourOfTheYear(const AValue: TDateTime): Word;
Unit: DateUtils
Type: function
Visibility: public
C++ Information
From DateUtils.hpp
unsigned short __fastcall HourOfTheYear(System::TDateTime AValue);
Unit: DateUtils
Type: function
Description
Returns the number of hours between a specified TDateTime value and 12:00 A.M. of the first day of the year.
Call HourOfTheYear to obtain the number of complete hours between AValue and 12:00 A.M. on January 1 of the year that includes AValue.
See Also
Code Samples