RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.SecondOfTheHour Function

Returns the number of seconds between a specified TDateTime value and the beginning of the same hour.

Pascal
function SecondOfTheHour(const AValue: TDateTime): Word;
C++
Word SecondOfTheHour(const TDateTime AValue);

Call SecondOfTheHour to obtain the number of seconds between AValue and the start of the same hour on the same day. 

 

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