System.SysUtils.GetTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetTime: TDateTime;

C++

extern DELPHI_PACKAGE System::TDateTime __fastcall GetTime(void);

Properties

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

Description

Returns the current time.

GetTime and Time return the current time as a System.TDateTime value. The two functions are completely equivalent.

Note: Time clashes with an Xlib function of the same name. Use GetTime in multi-device code (for example, for MAC OS X apps).

See Also