help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Procedures and functions] Reference for unit 'dateutils' (#rtl)

SecondOfTheHour

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

Declaration

Source position: dateutil.inc line 219

function SecondOfTheHour(

  const AValue: TDateTime

):Word;

Arguments

AValue

  

Moment in the hour

Function result

Number of seconds elapsed since the start of the hour

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

SecondOfTheYear

  

Calculate the number of seconds elapsed since the start of the year.

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

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

MinuteOfTheHour

  

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

MilliSecondOfTheHour

  

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505