• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 466
  • Last Modified:

yesterday function from delphi 6

In delphi 6 exists a Yesterday() function. Could someone post the source of this function? I'm interested in the borland implementation.

Thanks!
0
egono
Asked:
egono
1 Solution
 
simonetCommented:

function Yesterday : TDatetime;
begin
  Result := Date - 1;
end;



Alex
0
 
egonoAuthor Commented:
They call the date function, I supposed something like this.

Thanks Alex
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now