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);

DateUtils

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

 

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