System.SysUtils.Time

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Time: TDateTime;

C++

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

Properties

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

Description

Returns the current time.

Time and GetTime return the current time as a TDateTime value.

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

See Also

Code Examples