SecondOfTheHour

Calculate the number of seconds elapsed since the start of the hour

Declaration

Source position: dateutil.inc line 221

  function SecondOfTheHour(const AValue: TDateTime) : Word;

Description

SecondOfTheHour returns the number of seconds that have passed since the start of the Hour (HH:00:00) till the moment indicated by AValue. This is a zero-based number, i.e. HH:00:00.999 return 0.

For an example, see the MinuteOfTheHour function.

See also

Name Description
MilliSecondOfTheHour Calculate the number of milliseconds elapsed since the start of the hour
MinuteOfTheHour Calculate the number of minutes elapsed since the start of the hour
SecondOfTheDay Calculate the number of seconds elapsed since the start of the day
SecondOfTheMinute Calculate the number of seconds elapsed since the start of the minute
SecondOfTheMonth Calculate number of seconds elapsed since the start of the month.
SecondOfTheWeek Calculate the number of seconds elapsed since the start of the week
SecondOfTheYear Calculate the number of seconds elapsed since the start of the year.