SecondOfTheDay function
Calculate the number of seconds elapsed since the start of the day.
Declaration
function SecondOfTheDay(const AValue: TDateTime): LongWordArguments
AValue | Moment in the day. |
Function result
Number of seconds elapsed since the start of the day.
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
