System.DateUtils.Yesterday
Delphi
function Yesterday: TDateTime;
C++
extern DELPHI_PACKAGE System::TDateTime __fastcall Yesterday(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 preceding day.
Yesterday returns a TDateTime value with the date portion set to the day before the current date and the time portion set to 0.
See Also