RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.Yesterday Function

Returns a TDateTime value that represents the preceding day.

Pascal
function Yesterday: TDateTime;
C++
TDateTime Yesterday();

Yesterday returns a TDateTime value with the date portion set to the day before the current date and the time portion set to 0. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!