Sign in Join
FPDoc Onlineexperiment

SecondOf function

In unit DateUtils

Extract the second part from a TDateTime value.

Declaration

pascal
function SecondOf(const AValue: TDateTime): Word

Arguments

AValue

Date/time value to extract second from.

Function result

Second part of AValue.

Description

SecondOf returns the second of the minute part of the AValue date/time indication. It is a number between 0 and 59.

For an example, see YearOf

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.