System.DateUtils.SecondOfTheYear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SecondOfTheYear(const AValue: TDateTime): Cardinal;

C++

extern DELPHI_PACKAGE unsigned __fastcall SecondOfTheYear(const System::TDateTime AValue);

Properties

Type Visibility Source Unit Parent
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

Description

Returns the number of seconds between a specified TDateTime value and 12:00:00 A.M. on the first day of the year.

Call SecondOfTheYear to obtain the number of seconds between AValue and 12:00:00 A.M. on January 1 of the year that includes AValue.

See Also


Code Examples