System.SysUtils.Date

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Date: TDateTime;

C++

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

Properties

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

Description

Returns the current date.

Use Date to obtain the current local date as a System.TDateTime value. The time portion of the value is 0 (midnight).

See Also

Code Examples