SecondOfTheDay
Calculate the number of seconds elapsed since the start of the day
Declaration
Source position: dateutil.inc line 213
function SecondOfTheDay(const AValue: TDateTime) : LongWord;
Description
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.
See also
| Name | Description |
|---|---|
| HourOfTheDay | Calculate the hour of a given TDateTime value |
| MilliSecondOfTheDay | Calculate the number of milliseconds elapsed since the start of the day |
| MinuteOfTheDay | Calculate the number of minutes elapsed since the start of the day |
| SecondOfTheHour | Calculate the number of seconds elapsed since the start of the hour |
| 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. |