System.DateUtils.Today

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Today: TDateTime;

C++

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

Properties

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

Description

Returns a TDateTime value that represents the current date.

Today returns a TDateTime value with the date portion set to the current date and the time portion set to 0.

See Also


Code Examples