System.SysUtils.Now
Delphi
function Now: TDateTime;
C++
extern DELPHI_PACKAGE System::TDateTime __fastcall Now(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Returns the current date and time.
Returns the current date and time, corresponding to the sum of the value returned by the global Date and Time functions.
Note: Although TDateTime values can represent milliseconds, Now is accurate only to the nearest second.
See Also