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();

DateUtils

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

 

Today 

Date 

Tomorrow

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!