| [Overview][Constants][Procedures and functions][Index] | 
Calculate the number of seconds elapsed since the start of the day
Source position: dateutil.inc line 226
function SecondOfTheDay(  | 
const AValue: TDateTime  | 
):LongWord;  | 
AValue  | 
  | 
Moment in the day  | 
Number of seconds elapsed since the start of the day
SecondOfTheDay returns the number of seconds that have passed since the start of the Day (00:00:00) till the moment indicated by AValue. This is a zero-based number, i.e. 00:00:00.999 return 0.
For an example, see the HourOfTheDay function.
  | 
Calculate the number of seconds elapsed since the start of the year.  | 
|
  | 
Calculate number of seconds elapsed since the start of the month.  | 
|
  | 
Calculate the number of seconds elapsed since the start of the week  | 
|
  | 
Calculate the number of seconds elapsed since the start of the hour  | 
|
  | 
Calculate the number of seconds elapsed since the start of the minute  | 
|
  | 
Calculate the hour of a given TDateTime value  | 
|
  | 
Calculate the number of minutes elapsed since the start of the day  | 
|
  | 
Calculate the number of milliseconds elapsed since the start of the day  |